RdKafka::Header with RK_MSG_FREE #3492
Answered
by
edenhill
narensharma88
asked this question in
Q&A
-
Does RK_MSG_FREE also take care of deallocation of RdKafka::Headers? |
Beta Was this translation helpful? Give feedback.
Answered by
edenhill
Aug 11, 2021
Replies: 1 comment
-
Regardless of message flags, a successful produce() call takes ownership of the headers and frees them automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
narensharma88
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regardless of message flags, a successful produce() call takes ownership of the headers and frees them automatically.