Skip to content

Can the channel carry options? #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
inewlife opened this issue Dec 20, 2019 · 10 comments
Open

Can the channel carry options? #98

inewlife opened this issue Dec 20, 2019 · 10 comments

Comments

@inewlife
Copy link

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)])

@vmagamedov
Copy link
Owner

Currently this is not implemented, but I plan to add such options in the future.

@inewlife
Copy link
Author

Thanks Reply,When is the development planned?

@lnshi
Copy link

lnshi commented Feb 19, 2020

@vmagamedov has any progress been made for this?

@vmagamedov
Copy link
Owner

@lnshi Nope. Which options do you need?

@lnshi
Copy link

lnshi commented Feb 19, 2020

@vmagamedov currently i am using MaxRecvMsgSize, MaxSendMsgSize, InitialWindowSize and InitialConnWindowSize.

@vmagamedov
Copy link
Owner

Added http2_connection_window_size and http2_stream_window_size config values in ea13595

@DeoLeung
Copy link

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

@vmagamedov
Copy link
Owner

@DeoLeung Implemented ssl_target_name_override config option, please let me know if everything works as expected

@DeoLeung
Copy link

DeoLeung commented Oct 5, 2023

@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 :)

@dariusmilea
Copy link

Hello @vmagamedov,

Is it possible to also add load balancing policy option?

Something like this from grpcio: grpcio load balancing client example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants