Skip to content
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

grpc-js: Pass channel args to LB policies with updates #2854

Merged

Conversation

murgatroid99
Copy link
Member

This removes the channel options argument from the LoadBalancer constructor and adds it to the updateAddressList method, replacing the attributes argument. Resolver attributes are now added to channel options, as are any other values that need to be passed between LB policies but don't go in the LB policy config. Channel options that start with the string defined in SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX will not be passed to subchannel constructors or used to determine subchannel uniqueness.

@murgatroid99 murgatroid99 force-pushed the grpc-js_lb_child_helper_channel_args branch from 1fa6d92 to 86e62f2 Compare November 20, 2024 17:24
@murgatroid99 murgatroid99 merged commit f44b5e5 into grpc:master Nov 20, 2024
5 of 10 checks passed
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

Successfully merging this pull request may close these issues.

1 participant