Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
InsertBatchedElements consumes the output of GroupIntoBatches which flushes after default 500 elements to respect the max items per streaming insert request to BQ.
However InsertBatchedElements flushes rows synchrounously meaning that latencies of writes accumulates. It could instead initiate writes in ProcessElement and block on write completion in FinishBundle. There could be some limited configurable parallelism if desired to limit memory usage.
Attachments
Issue Links
- links to