Divij Vaidya created KAFKA-14631: ------------------------------------ Summary: Compression optimization: do not read the key/value for last record in the batch Key: KAFKA-14631 URL: https://issues.apache.org/jira/browse/KAFKA-14631 Project: Kafka Issue Type: Sub-task Reporter: Divij Vaidya Assignee: Divij Vaidya Fix For: 3.5.0
Do not read the end of the batch since it contains the key/value for last record. Instead of “skipping” which would lead to decompression, we can simply not read it at all. Only applicable for skipIterator. -- This message was sent by Atlassian Jira (v8.20.10#820010)