How to pass channel arguments?
Describe the question
The gRPC core concepts docs page says that a gRPC channel can receive arguments:
A gRPC channel provides a connection to a gRPC server on a specified host and port. It is used when creating a client stub. Clients can specify channel arguments to modify gRPC’s default behavior, such as switching message compression on or off. A channel has state, including connected and idle.
The gRPC keepalive docs says that the keepalive ping is controlled by using channel arguments.
I am currently having issues when trying keep a channel connection open with a gRPC server written in Ruby, as the server is shutting down my connection because of too_many_pings (same issue as https://github.com/elixir-grpc/grpc/issues/61).
It seems like the only way to fix that is configure keepalive options using channel arguments. I looked at the elixir-grpc docs and source code and couldn't find a way to set this up. How can I pass channel arguments?
@guisehn is this issue still relevant? If so, do you want to tackle eventual implementations needed for it?
@polvalente I think it's still relevant. Not sure how to implement that though.
@polvalente I think it's still relevant. Not sure how to implement that though.
This one seems to be related to the client adapter (which is currently written in with Gun)
We should probably hold off until #199 is done to work on this