googleapis / googleapis/google-cloud-java

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

オープン
#13,049 コメント 2 件 リアクション 0 件 担当者 1 名 @michaelpri10 が担当を希望しています GitHub で見る
api: pubsub type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。