-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Expose pubsub PublishSettings along with ReceiveSettings #1026
Comments
JamesBLewis
changed the title
Expose PublishSettings like already done for ReceiveSettings
Feature: Expose PublishSettings along with ReceiveSettings
Mar 16, 2024
JamesBLewis
changed the title
Feature: Expose PublishSettings along with ReceiveSettings
Feature: Expose pubsub PublishSettings along with ReceiveSettings
Mar 16, 2024
JamesBLewis
added a commit
to JamesBLewis/sdk-go
that referenced
this issue
Mar 16, 2024
JamesBLewis
added a commit
to JamesBLewis/sdk-go
that referenced
this issue
Mar 16, 2024
JamesBLewis
added a commit
to JamesBLewis/sdk-go
that referenced
this issue
Apr 4, 2024
JamesBLewis
added a commit
to JamesBLewis/sdk-go
that referenced
this issue
Jul 5, 2024
JamesBLewis
added a commit
to JamesBLewis/sdk-go
that referenced
this issue
Jul 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
The google pubsub client allows you to configure your receive and publish settings. via pubsub.ReceiveSettings and pubsub.PublishSettings. This sdk exposes the ReceiveSettings in its interface via the protocol Struct but does not give the same treatment to PublishSettings. I propose we correct this omission with a backwards compatible change exposing this and thus allowing the user to configure things like batch publishing of messages without effecting the existing behaviour of the client.
As PublishSettings are not currently configurable, all events are published with
pubsub.DefaultPublishSettings
. This means that even by exposing ReceiveSettings we would not impact any programs which rely upon not specifying PublishSettings.The text was updated successfully, but these errors were encountered: