HomeTyk v2.3 Documentation ComponentsgRPC plugins and Tyk

gRPC plugins and Tyk

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”).

Protocol Buffers are used for dispatching and exchanging requests between Tyk and your gRPC plugins. The protocol definitions provided by Tyk should be used in order for the communication to be successful. You may find these definitions here.

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, we suggest you check them.

See this tutorial for instructions on how to create a gRPC plugin.

Was this article helpful to you? Yes No