apache / apache/beam

Dataflow's UnboundedReaderIterator should support overriding default bundle size targets

Open
#20,606 0 comments 0 reactions 0 assignees View on GitHub
dataflow improvement P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

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

Imported from Jira [BEAM-10984](https://issues.apache.org/jira/browse/BEAM-10984). Original Jira may contain additional context.
Reported by: millsd@google.com.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.