You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fortunately, the issue was reproducible, so we were able to find the culprit. Apparently, our Kafka broker sends out messages sets which contain zero messages. Kafka-go cannot handle these as the current code proceeds to read a message right after reading the header which leads to a desynchronisation of the stream and finally a corruption.
While this fix is more for 0 unread messages due to compaction, it has some similar sounding context to this issue, although the compaction issue has never been reported to panic, you could try the fix here #813
Describe the bug
We noticed panics very similar to #457 when reading messages with a consumer group.
Stack trace
Fortunately, the issue was reproducible, so we were able to find the culprit. Apparently, our Kafka broker sends out messages sets which contain zero messages. Kafka-go cannot handle these as the current code proceeds to read a message right after reading the header which leads to a desynchronisation of the stream and finally a corruption.
kafka-go/message.go
Lines 466 to 520 in 8462374
Kafka Version
0.11
The text was updated successfully, but these errors were encountered: