Open
Description
First mentioned in another comment, and then discussed with @ejona86 and @dapengzhang0, it was concluded that we need to extract the following logic:
- Parse the target string and convert it into a URI
- Manage NameResolver retries
- Wire up NameResolver and LoadBalancer
out of ManagedChannelImpl
, and make it usable in the following cases:
- CHANNEL:
ManagedChannelImpl
- OOB:
LoadBalancer.Helper#createResolvingOobChannel
(blocking Implement LoadBalancer.Helper#createResolvingOobChannel #5495) - CHILD_POLICY:
XdsLoadBalancer
"custom mode":XdsLoadBalancer
receives the target name for each locality, and needs to resolve the target name and start a childLoadBlanacer
for it.
Metadata
Metadata
Assignees
Labels
No labels