Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2847

Stop streaming pipeline when global watermark reaches +INF

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • runner-spark
    • None

    Description

      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 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aviemzur Aviem Zur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: