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

Allow customising batch duration when streaming with WriteToBigQuery

Details

    • New Feature
    • Status: Triage Needed
    • P2
    • Resolution: Fixed
    • Not applicable
    • 2.36.0
    • io-py-gcp
    • None

    Description

      Hi,

      We allow customising the batch_size when streaming to BigQuery but the batch duration (used by GroupIntoBatches) is set to DEFAULT_BATCH_BUFFERING_DURATION_LIMIT_SEC (0.2)

      I'd like to add the option to specify the batch duration to allow better batching for scenarios with little data throughput.
      It will use the triggering_frequency param already used when doing batch file loads

      Attachments

        Activity

          People

            Unassigned Unassigned
            qsmr Quentin Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 18h
                18h