You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/01/18 13:17:00 UTC

[jira] [Created] (KAFKA-14631) Compression optimization: do not read the key/value for last record in the batch

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)