Skip to content

Allow choosing the ManagedChannelProvider based on the NameResolver #3085

@carl-mastrangelo

Description

@carl-mastrangelo

ManagedChannelBuilder.forTarget knows the scheme of the target, but doesn't pass it to the ManagedChannelProvider. This makes it hard for the service loader to pick a proper Provider, because it may pick incorrectly.

Consider passing the scheme to the MCP, so that it can decide whether or not its available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions