googleapis / googleapis/google-cloud-java

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

未关闭
#12,545 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。