Details
Description
PubsubIO doesn't allow users to set the publish batch size. Instead the value is hard coded in both the BoundedPubsubWriter and the UnboundedPubsubSink.
google's pub/sub is bound to a maximum of 10mb per request size. My company has run into problems with events that are individually smaller than 1mb, but when batched in the 100 or 2000 default batch sizes causes pubsub to fail to send the event.
Attachments
Issue Links
- is related to
-
BEAM-3234 PubsubIO batch size should be configurable
- Resolved
- links to