Lucas Bradstreet created KAFKA-9820:
---------------------------------------
Summary: validateMessagesAndAssignOffsetsCompressed allocates
batch iterator which is not used
Key: KAFKA-9820
URL: https://issues.apache.org/jira/browse/KAFKA-9820
Project: Kafka
Issue Type: Bug
Components: core
Reporter: Lucas Bradstreet
KAFKA-8106 added a new skip key/value iterator that reduces allocations
[https://github.com/apache/kafka/commit/3e9d1c1411c5268de382f9dfcc95bdf66d0063a0].
Unfortunately in LogValidator it creates that iterator but it never uses it,
and this is quite expensive in terms of allocations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)