-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
Description
We recently upgraded from 0.18.1 to 0.21.0 and we do not use gRPC/GAX/Protobuf fun times, but we use the JSONPublisherApi.
Maybe we are using the topic.Batch().Commit() method wrong, but we have been using it in our retry strategy to just simply call Commit() again.
With the change in #2577 it seems that Commit() will double encode if you just call Commit() again on a network failure.
Is this the intended design? Are we supposed to keep another copy of the message batch or create another message batch?
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.