Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2660

Set PubsubIO batch size using builder

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.9.0
    • io-java-gcp

    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

          Activity

            People

              CarlM Carl McGraw
              CarlM Carl McGraw
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h