Hi everyone,

I understand one of the reasons why Kafka is performant is by using
zero-copy.

I often hear that when encryption is enabled, then Kafka has to copy the
data in user space to decode the message, so it has a big impact on
performance.

If it is true, I don t get why the message has to be decoded by Kafka. I
would assume that whether the message is encrypted or not, Kafka simply
receives it, appends it to the file, and when a consumer wants to read it,
it simply reads at the right offset...

Also I m wondering if it s the case if we don t use keys (pure queuing
system with key=null).

Cheers
Nico

Reply via email to