Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link

Description

@sanjivr
Issue body actions

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.
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.