Skip to content

Conversation

dasch
Copy link
Contributor

@dasch dasch commented Oct 30, 2017

Message sets are nested before compression. Kafka used to decompress and fix the offsets, but that no longer seems to happen, so the offsets are all wrong. We now calculate the correct offset based on the "container" message's offset and the contained message's position in the message
set.

Fixes #457.

@dasch dasch force-pushed the dasch/fix-nested-offsets branch 2 times, most recently from 2d1d4e0 to fadd2ff Compare October 30, 2017 15:56
Message sets are nested before compression. Kafka used to decompress and fix the offsets, but that no longer seems to happen, so the offsets are all wrong. We now calculate the correct offset based on the "container" message's offset and the contained message's position in the message set.
@dasch dasch force-pushed the dasch/fix-nested-offsets branch from fadd2ff to 42821e9 Compare October 31, 2017 12:51
@dasch dasch merged commit a7584cd into master Oct 31, 2017
@dasch dasch deleted the dasch/fix-nested-offsets branch October 31, 2017 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant