Mis-alignment of message payloads #4248
ordinary-information
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
rust-rdkafka
, specifically aStreamConsumer
; however, I don't believe this is relevant to the issue. The payloads of the messages from consumers are transiently misaligned (implying alignment is not guaranteed off the wire and sometimes I get lucky, but generally the buffers are not byte aligned).Is there a setting I can use to ensure padding in the underlying buffers is used to ensure that byte alignment for payloads happens? I can copy the data to properly aligned buffers, but it would be great to keep zero copies... Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions