José Armando García Sancio created KAFKA-15078:
--------------------------------------------------

             Summary: When fetching offset 0 the KRaft leader should response 
with SnapshotId
                 Key: KAFKA-15078
                 URL: https://issues.apache.org/jira/browse/KAFKA-15078
             Project: Kafka
          Issue Type: Improvement
            Reporter: José Armando García Sancio
            Assignee: José Armando García Sancio


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to