You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/06/01 09:20:04 UTC

[jira] [Created] (KAFKA-5360) Down-converted uncompressed batches should respect requested offset

Ismael Juma created KAFKA-5360:
----------------------------------

             Summary: Down-converted uncompressed batches should respect requested offset
                 Key: KAFKA-5360
                 URL: https://issues.apache.org/jira/browse/KAFKA-5360
             Project: Kafka
          Issue Type: Bug
            Reporter: Ismael Juma
            Assignee: Ismael Juma
            Priority: Blocker
             Fix For: 0.11.0.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)