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)