You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 18:33:32 UTC

[GitHub] [beam] kennknowles opened a new issue, #18416: Stop streaming pipeline when global watermark reaches +INF

kennknowles opened a new issue, #18416:
URL: https://github.com/apache/beam/issues/18416

   Stop streaming pipeline when global watermark reaches ****INF as suggested in BEAM-849 comments.
   
   We can do this similarly to the solution in [TestSparkRunner#awaitWatermarksOrTimeout](https://github.com/apache/beam/blob/v2.1.0/runners/spark/src/main/java/org/apache/beam/runners/spark/TestSparkRunner.java#L158-L179) by polling ```
   
   SparkTimerInternals.global(GlobalWatermarkHolder.get(...))
   
   ```
   
   
   We can also remove this code from `TestSparkRunner` if we make sure all sources in test behave in a way which shifts the watermark to ****INF at the end of the test.
   
   Imported from Jira [BEAM-2847](https://issues.apache.org/jira/browse/BEAM-2847). Original Jira may contain additional context.
   Reported by: aviemzur.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org