googleapis / googleapis/google-cloud-java

[sdk-platform-java] InstantiatingGrpcChannelProvider - Support non-host:port target strings

Open
#12,545 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

Currently, `InstantiatingGrpcChannelProvider` endpoints must be host:port strings. This is a request to support target strings, e.g. that can be resolved using custom name resolvers. Implementation-wise, it seems that allowing a target string to be passed through to `ManagedChannelBuilder.forTarget()` instead of `forAddress()` would be sufficient.

Primary use cases are for testing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.