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

Support SinkWriter preCommit without the need of a committer

    XMLWordPrintableJSON

Details

    Description

      For some sinks i.e. elasticsearch we only want to listen for the snapshot barrier once retrieved the sink flushes the buffered records.
      These sinks do not snapshot any state thus do not implement the `snapshotState()` method.

      We already have a NoopCommitHandler which swallows the passed committables but it should at least call `preCommit()` on the SinkWriter.

      Attachments

        Activity

          People

            fpaul Fabian Paul
            fpaul Fabian Paul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: