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

Kafka source may reset the consume offset to earliest when the partition leader changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • kafka-3.2.0
    • None
    • Connectors / Kafka
    • None

    Description

      Kafka producer using the ack=1 option to write data to a topic.

      Flink Kafka source startup with the scan.startup.mode=earliest-offset option to consume (the Kafka auto.offset.reset option will be force override to earliest).

      If a partition leader is not available, a follower may become the new leader and this may trigger log truncation. It may cause consumers to consume offset out of range and use the auto.offset.reset strategy to reset the offset.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            tanjialiang tanjialiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: