Tyk has built-in support for gRPC backends, enabling you to build rich plugins using any of the gRPC supported languages. At the time of writing, the following languages are supported: C++, Java, Objective-C, Python, Ruby, Go, C# and Node.JS. See “gRPC by language” for more details.
Protocol Buffers are used for dispatching and exchanging requests between Tyk and your gRPC plugins. Protocol Buffers can be versioned using the conventions outlined here. The protocol definitions and bindings provided by Tyk should be used in order for the communication to be successful.
You may re-use the bindings that were generated for our samples. In case you find it necessary, or you don’t find a sample that uses your target language, you may generate the bindings yourself. The Protocol Buffers and gRPC documentation provide specific requirements and instructions for each language.
See this tutorial for instructions on how to create a gRPC plugin.