Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15078

When fetching offset 0 the KRaft leader should response with SnapshotId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      With the current implementation if the follower fetches offset 0 and the KRaft leader has a record batch at offset 0, it will always send a FETCH response with records.

      If the KRaft log has generated a snapshot it is always more efficient of the follower fetch the snapshot instead.

      Attachments

        Issue Links

          Activity

            People

              jsancio José Armando García Sancio
              jsancio José Armando García Sancio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: