A bug in the iterator of the ByteBufferMessageSet returns incorrect offsets
when it encounters a compressed empty message set
-----------------------------------------------------------------------------------------------------------------------------
Key: KAFKA-111
URL: https://issues.apache.org/jira/browse/KAFKA-111
Project: Kafka
Issue Type: Bug
Affects Versions: 0.7
Reporter: Neha Narkhede
The deep iterator logic in the ByteBufferMessageSet returns incorrect offsets
when it encounters empty compressed data. Ideally, it should be able to
decompress the data, figure out that it is somehow empty, skip it and proceed
to decoding rest of the data. To make this possible, the manner in which we
update the offset to be returned by the iterator, needs to be tweaked.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira