[Feature Request]: Dataflow streaming worker should budget GetWork against queued and active work
Los mantenedores suelen responder en 2 días
@singhmrinal02 ya está trabajando en esto.
Desde el 5/12/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- grpc, java
- Área
- distributed-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 8.7k
- Forks
- 4.8k
- Merge medio
- 3 d 20 h
- PR fusionados (30 d)
- 446
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/beam
-
[Bug]: [Python] BigTableEnrichmentHandler coerces None lookup keys to literal b'None' and formats blank key name on KeyErrorPosiblemente ocupada @shikhabhadoria la tomó hace 10 días. Abiertoio P2 python
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/beam#41346 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Release notes links wrongPosiblemente ocupada @schizophrenicmaniac la tomó hace 24 días. Abiertobug P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
apache/beam#41197 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/beam#39624 · 2 reacciones ·
Los mantenedores suelen responder en 2 días
-
[Bug]: PubsubIO used in batch incorrect batch cutoff sizePosiblemente ocupada @1fanwang la tomó hace 103 días. Abiertobug io P3 pinned pubsub
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/beam#28011 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
-
build P3 sub-task
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
Todos los issues de apache/beam
Issues similares
-
missing Git commit for 10.5-RC2Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
avaje/avaje-metrics#142 · 1 comentario ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RamazanKara/nightjar#299 · 4 comentarios ·
-
Support emergency=access_point (POI type and rendering)Posiblemente ocupada @julenepj la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
osmandapp/OsmAnd#27424 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Link not working in the feedback concerning String.format() in exercise 'Tim from Marketing'Posiblemente ocupada @LaibaMunir016 la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
exercism/java-analyzer#379 · 1 comentario ·
-
TasksRunnerService.decode() should treat an empty lambdaBody as absentPosiblemente ocupada @gky051224 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
redisson/redisson#7477 · 1 comentario ·
Los mantenedores suelen responder en 2 días