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

KafkaSink might violate order of sequence numbers and risk exactly-once processing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.14.3, 1.15.0
    • None
    • Connectors / Kafka
    • None

    Description

      When running the KafkaSink in exactly-once mode with a very low checkpoint interval users are seeing `OutOfOrderSequenceException`.

      It could be caused by the fact that the connector has a pool of KafkaProducers and the sequence numbers are not shared/reset if a new KafkaProducer tries to write to a partition while the previous KafkaProducer is still occupied for committing.

      Attachments

        Activity

          People

            alexanderpreuss Alexander Preuss
            fpaul Fabian Paul
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: