googleapis / googleapis/google-cloud-java

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

Open
#13,049 2 comments 0 reactions 1 assignee Claimed by @michaelpri10 View on GitHub
api: pubsub type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

**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.

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.