Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6622

GroupMetadataManager.loadGroupsAndOffsets decompresses record batch needlessly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      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:

      Attachments

        1. kafka batch iteration funtime.png
          230 kB
          Radai Rosenblatt

        Issue Links

          Activity

            People

              radai Radai Rosenblatt
              radai Radai Rosenblatt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: