Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, the UnboundedReaderIterator will read until 10k elements have been read or 10s have passed. This works for most pipelines, but is insufficient for pipelines that either require very high throughput or require low latency. We should make these values controllable via a PipelineOption, probably under DataflowPipelineDebugOptions.
The constants are defined here: https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/WorkerCustomSources.java#L757