radai rosenblatt created KAFKA-6622:

             Summary: 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
         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

Reply via email to