You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/03/14 20:12:00 UTC

[jira] [Created] (KAFKA-18989) Optimize FileRecord#searchForOffsetWithSize

Chia-Ping Tsai created KAFKA-18989:
--------------------------------------

             Summary: Optimize FileRecord#searchForOffsetWithSize
                 Key: KAFKA-18989
                 URL: https://issues.apache.org/jira/browse/KAFKA-18989
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


the `lastOffset` needs to load whole header of batch, so we should check `baseOffset` instead. this approach is similar to https://github.com/apache/kafka/pull/17322#discussion_r1807869552



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