You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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: