googleapis / googleapis/google-cloud-java
[sdk-platform-java] InstantiatingGrpcChannelProvider - Support non-host:port target strings
Open
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
Assessment
This issue has not been assessed yet.