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

Use Flink 1.6/1.7 prepareSnapshotPreBarrier to replace BufferedOutputManager

Details

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

    Description

      Flink 1.6/1.7 provides a hook to execute an action before the snapshot barrier is emitted by the operator. At the moment (<=1.5) the Flink Runner has to buffer any elements which are emitted during a snapshot because the barrier has already been emitted. This leads to a lot of code complexity.

      We can remove the buffering in favor of finishing the current bundle in DoFnOperator's prepareSnapshotPreBarrier. The 1.5/1.6/1.7 build setup poses a challenge to do that in a way that does not lead to much code duplication.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h
                  5h