You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "José Armando García Sancio (Jira)" <ji...@apache.org> on 2023/06/28 21:23:00 UTC

[jira] [Resolved] (KAFKA-15078) When fetching offset 0 the KRaft leader should response with SnapshotId

     [ https://issues.apache.org/jira/browse/KAFKA-15078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

José Armando García Sancio resolved KAFKA-15078.
------------------------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 3.6.0
>
>
> 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)