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

Down-converted uncompressed batches should respect fetch offset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None
    • None

    Description

      More specifically, V2 messages are always batched (whether compressed or not) while V0/V1 are only batched if they are compressed.

      Clients like librdkafka expect to receive messages from the requested offset when dealing with uncompressed V0/V1 messages. When converting from V2 to V0/1, we seem to be returning all the messages in the V2 batch instead of messages from the requested offset.

      Thanks to edenhill for investigating this.

      Attachments

        Issue Links

          Activity

            People

              ijuma Ismael Juma
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: