Does anybody know about magic byte in Kafka? What is it used for and how is it used?
Can a producer send any value in magic byte to Kafka partition?
Please share any documentation on this.
As per Kafka Wire Protocol Guide Magic Byte is used for backwards compatibility of message format and the current value is 0.
Looks like this is ignored now and passing any value as Magic Byte works for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With