[ 
https://issues.apache.org/jira/browse/KAFKA-6622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390502#comment-16390502
 ] 

radai rosenblatt commented on KAFKA-6622:
-----------------------------------------

see PR - https://github.com/apache/kafka/pull/4661

> GroupMetadataManager.loadGroupsAndOffsets decompresses record batch needlessly
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-6622
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6622
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: radai rosenblatt
>            Assignee: radai rosenblatt
>            Priority: Major
>         Attachments: kafka batch iteration funtime.png
>
>
> when reading records from a consumer offsets batch, the entire batch is 
> decompressed multiple times (per record) as part of calling 
> `batch.baseOffset`. this is a very expensive operation being called in a loop 
> for no reason:
> !kafka batch iteration funtime.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to