grpclib
grpclib copied to clipboard
Can the channel carry options?
just like
conn = Channel(cache_address, options=[('grpc.max_message_length', 1024 * 1024 * 1024), ('grpc.max_send_message_length', 1024 * 1024 * 1024), ('grpc.max_receive_message_length', 1024 * 1024 * 1024)])
Currently this is not implemented, but I plan to add such options in the future.
Thanks Reply,When is the development planned?
@vmagamedov has any progress been made for this?
@lnshi Nope. Which options do you need?
@vmagamedov currently i am using MaxRecvMsgSize, MaxSendMsgSize, InitialWindowSize and InitialConnWindowSize.
Added http2_connection_window_size and http2_stream_window_size config values in ea13595e45316c43f55e579d14e0dac422e7d291
I need grpc.ssl_target_name_override , so downstream traefik can dynamic route it to different servers. it's there a general way to set it, similar to grpcio options
@DeoLeung Implemented ssl_target_name_override config option, please let me know if everything works as expected
@DeoLeung Implemented ssl_target_name_override config option, please let me know if everything works as expected
thank you for the support. we will try it later.
FYI,
we are using metadata, it seems to send as header, so we currently config traefik to route via header, just remember to use lower case :)