You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "radai rosenblatt (JIRA)" <ji...@apache.org> on 2018/03/08 00:24:01 UTC
[jira] [Created] (KAFKA-6622)
GroupMetadataManager.loadGroupsAndOffsets decompresses record batch
needlessly
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
(v7.6.3#76005)