Is Compression  happening on Producer Side (on application thread meaning
thread that call send method or background Kafka thread ) and where does
decompression Consumer side ?

Application thread in both cases.

Is there any Compression/Decompression happening on Brokers Side when
receiving message from producer and sending message to consumers  ?

Yes, before appending to the broker's log, to assign offsets to compressed
messages.

Thanks,
Neha

On Mon, Oct 27, 2014 at 9:55 PM, Bhavesh Mistry <mistry.p.bhav...@gmail.com>
wrote:

> Hi Kafka Team,
>
> Is Compression  happening on Producer Side (on application thread meaning
> thread that call send method or background Kafka thread ) and where does
> decompression Consumer side ?
>
> Is there any Compression/Decompression happening on Brokers Side when
> receiving message from producer and sending message to consumers  ?
>
> Thanks for your help !
>
> Thanks,
>
> Bhavesh
>

Reply via email to