You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2018/03/09 22:27:00 UTC

[jira] [Resolved] (KAFKA-6622) GroupMetadataManager.loadGroupsAndOffsets decompresses record batch needlessly

     [ https://issues.apache.org/jira/browse/KAFKA-6622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gustafson resolved KAFKA-6622.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

> 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
>             Fix For: 1.1.0
>
>         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)