-
Notifications
You must be signed in to change notification settings - Fork 3.9k
api,core: add LoadBalancer.Helper#createResolvingOobChannelBuilder api #7136
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
Conversation
* target string. The out-of-band channel doesn't have load-balancing. If multiple addresses | ||
* are resolved for the target, the first working address will be used. | ||
* target string. If multiple addresses are resolved for the target, the first working address | ||
* will be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the last sentence is not needed as well. Basically it will use the balancer determined by the service config from the NameResolver or the default config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, removed.
} | ||
|
||
@Override | ||
public ManagedChannel createResolvingOobChannel(String target) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you still need this overriding? Same for below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For below we definitely need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. for the Forwarding one, i didn't change because the method is not final.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
this allows RLS or any LB to configure OobChannel such as service config.