googleapis / googleapis/google-cloud-java

[java-pubsub] Allow user to configure usage of REST Transport

未关闭
#13,049 2 条评论 0 个 reaction 已指派 1 人 已被 @michaelpri10 认领 在 GitHub 查看
api: pubsub type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

**Is your feature request related to a problem? Please describe.**

The PubSub Java SDK does not work when configured with `InstantiatingHttpJsonChannelProvider`.
It only supports `InstantiatingGrpcChannelProvider`. The `Publisher` implementation
provided by the SDK is tightly coupled with a Grpc transport.

**Describe the solution you'd like**

Update the Publisher and Subscriber implementations to support `InstantiatingHttpJsonChannelProvider`

**Describe alternatives you've considered**

None

**Additional context**

* We have a requirement for on-premise clients to access PubSub only through a TLS terminating proxy
which performs additional validation on request attributes to limit traffic to just allowlisted GCP projects
or pubsub topics
* In the TLS terminating mode, the proxy doesn't support grpc. As such all clients leveraging the official PubSub Java SDK are unable to utilize this TLS terminated proxy approach.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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