Support for gRPC #350
Replies: 4 comments
-
I had a look a grpc. As I understand it, the transfer protocol is binary, as it's intended for interprocess communication. There is a grpcurl client available. |
Beta Was this translation helpful? Give feedback.
-
I don't really need gRPC support as of now, but everytime we post something about Kulala or somebody reviews Kulala, like here https://www.youtube.com/watch?v=eyXxEBZMVQI, people come up with "why no gRPC support?".. "Tool XY has gRPC support..". So let's discuss if this is worth the effort 👍 |
Beta Was this translation helpful? Give feedback.
-
I have actually seen this a few days ago and was pleasantly surprised when Kulala came up). I had a look at the sources of https://github.com/fullstorydev/grpcurl and at lua bindings of grpc protocol, which are dependent on C lib for grpc. The do seem like a lot of work. I think that while we do not know how big the demand is for this feature in Kulala, the easiest way would be to use grpcurl for grpc requests just as we use curl for http. It accepts/returns json, so should be straightforward to integrate. We would be dependent on external lib, but it seems that grpcurl is the best thing after the grpc libs themselves. |
Beta Was this translation helpful? Give feedback.
-
I have played around with gprcurl with a local grpc server and it worked quite well. Should I go ahead and implement it for Kulala? @gorillamoe |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It's possible to send gRPC via curl.
We need to extend the http-grammar and encode the body and decode the response accordingly.
Beta Was this translation helpful? Give feedback.
All reactions