Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28853

FLIP-217 Support watermark alignment of source splits

    XMLWordPrintableJSON

Details

    • Hide
      Added support for watermark alignment of source splits.

      Since Flink 1.17, source connectors have to implement watermark alignment of source split in order to use the watermark alignment feature. The required methods to implement are: `SourceReader#pauseOrResumeSplits` and `SplitReader#pauseOrResumeSplits`. If you are migrating from Flink <= 1.16.x, and you were using watermark alignment, but at the same time you are not able to upgrade/modify your connector, you can disable per split alignment via setting `pipeline.watermark-alignment.allow-unaligned-source-splits` to true. Note that by doing so, watermark alignment will be working properly only when your number of splits equals to the parallelism of the source operator.
      Show
      Added support for watermark alignment of source splits. Since Flink 1.17, source connectors have to implement watermark alignment of source split in order to use the watermark alignment feature. The required methods to implement are: `SourceReader#pauseOrResumeSplits` and `SplitReader#pauseOrResumeSplits`. If you are migrating from Flink <= 1.16.x, and you were using watermark alignment, but at the same time you are not able to upgrade/modify your connector, you can disable per split alignment via setting `pipeline.watermark-alignment.allow-unaligned-source-splits` to true. Note that by doing so, watermark alignment will be working properly only when your number of splits equals to the parallelism of the source operator.

    Description

      This improvement implements FLIP-217 to support watermark alignment of source splits.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              smattheis Sebastian Mattheis
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: