forked from segmentio/kafka-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix message builder compression code.
Due to a bug in the builder code, each compressed message set was creating a compressed message set for each message. This fixes that behavior so that the outer message composes N inner messages. The offset behavior between the v0 and v1 message set types is also accounted for. See: https://kafka.apache.org/documentation/#messages
- Loading branch information
Collin Van Dyck
committed
Oct 18, 2021
1 parent
de5fea3
commit 92c7911
Showing
2 changed files
with
37 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters