Fix consuming compacted topic
@@ -511,7 +511,7 @@ func (child *partitionConsumer) parseMessages(msgSet *MessageSet) ([]*ConsumerMe
}
if len(messages) == 0 {
- return nil, ErrIncompleteResponse
+ child.offset++
return messages, nil
@@ -539,7 +539,7 @@ func (child *partitionConsumer) parseRecords(batch *RecordBatch) ([]*ConsumerMes
child.offset = offset + 1
- child.offset += 1