[
https://issues.apache.org/jira/browse/BEAM-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546567#comment-17546567
]
Kenneth Knowles commented on BEAM-2847:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18416
> Stop streaming pipeline when global watermark reaches +INF
> -----------------------------------------------------------
>
> Key: BEAM-2847
> URL: https://issues.apache.org/jira/browse/BEAM-2847
> Project: Beam
> Issue Type: Improvement
> Components: runner-spark
> Reporter: Aviem Zur
> Priority: P3
>
> 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 {code}
> SparkTimerInternals.global(GlobalWatermarkHolder.get(...))
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)