Skip to content

grpc/client/name_resolution: add config selector support - #2929

Open
arjan-bal wants to merge 5 commits into
grpc:masterfrom
arjan-bal:config-selector
Open

arjan-bal wants to merge 5 commits into
grpc:masterfrom
arjan-bal:config-selector

Conversation

@arjan-bal

Copy link
Copy Markdown
Contributor

Adds support for name resolvers to supply a ConfigSelector that picks the configuration for each RPC. This is the hook the xDS resolver needs to route RPCs.

ConfigSelector is internal in the other gRPC implementations and isn't meant to become public API, so it doesn't go under __unstable. Instead, a new module grpc::__internal, gated by a new __internal feature, re-exports the config selector's public items for other grpc crates.

A test is added to verify RPCs, including queued ones, keep a per-RPC cluster subscription until invoke returns, including across selector updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants