[Feature Request]: Dataflow streaming worker should budget GetWork against queued and active work
メンテナーはふだん 2 日以内に返信
@singhmrinal02 がすでに取り組んでいます。
2026年12月5日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- grpc, java
調査の方向性
Read BoundedQueueExecutor and GetWorkBudgetDistributors.distributeEvenly() in the Java Dataflow Streaming Engine worker, then trace how ActiveWorkState tracks queued and in-flight work. Check the streaming_engine_getwork_budgeting experiment and existing worker tests first. Done means the receive thread stays non-blocking and GetWork refills account for active, queued, and in-flight work, with the stated 50% clamp and per-stream cap.
索引モデルが issue の本文から書いたものです。
説明
What would you like to happen?
When the Dataflow Streaming Engine worker's BoundedQueueExecutor is full, execute() blocks the GetWork gRPC receive thread. Work items still buffered on the stream can't be registered in ActiveWorkState, so they miss heartbeats, expire on Windmill, and get retried.
GetWork stream budgets also ignore work that is already queued or executing on the worker (GetWorkBudgetDistributors.distributeEvenly() uses a zero active-work budget), so streams keep requesting work while bundles are backed up.
Proposed change, behind the streaming_engine_getwork_budgeting experiment (off by default):
- Add a non-blocking reservation path to
BoundedQueueExecutor(soft target plus hard cap,tryReserve/executeReserved) so the receive thread never blocks. - Refill GetWork budget based on active, queued and in-flight work, clamping streams once the worker reaches 50% of its target and capping per-stream refills so idle fan-out backends can't hoard budget.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components
- Component: Java SDK
- Component: Google Cloud Dataflow Runner
- 主要言語
- Java
- スター
- 8.7k
- フォーク
- 4.8k
- 平均マージ
- 3日 20時間
- マージ済み PR(30日)
- 446
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/beam のほかの issue
-
[Bug]: [Python] BigTableEnrichmentHandler coerces None lookup keys to literal b'None' and formats blank key name on KeyError対応中かも @shikhabhadoria が 10 日前に担当しました。 オープンio P2 python
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/beam#41346 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
Release notes links wrong対応中かも @schizophrenicmaniac が 24 日前に担当しました。 オープンbug P3
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
apache/beam#41197 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
apache/beam#39624 · リアクション 2 件 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: PubsubIO used in batch incorrect batch cutoff size対応中かも @1fanwang が 103 日前に担当しました。 オープンbug io P3 pinned pubsub
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/beam#28011 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
build P3 sub-task
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
avaje/avaje-metrics#142 · コメント 1 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RamazanKara/nightjar#299 · コメント 4 件 ·
-
Support emergency=access_point (POI type and rendering)対応中かも @julenepj が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
osmandapp/OsmAnd#27424 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Link not working in the feedback concerning String.format() in exercise 'Tim from Marketing'対応中かも @LaibaMunir016 が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
exercism/java-analyzer#379 · コメント 1 件 ·
-
TasksRunnerService.decode() should treat an empty lambdaBody as absent対応中かも @gky051224 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
redisson/redisson#7477 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信