> Do I understand correctly that messages from 9+ do not follow the same
conversion as before?

No, there's no change for messages 9+.

So, I think your understanding is correct. When client and server are using
the same compression codec, it won't do conversion.
What you need to do now is to make sure the "server" and the "topic" is not
using the compression codec.
You can try to describe the topic to check if the compression.type config
is set.
The default value for `compression.type` is `producer`, which means, it'll
store what it got from producer, won't do conversion.
https://kafka.apache.org/documentation/#brokerconfigs_compression.type


Thank you.
Luke


On Fri, Feb 10, 2023 at 5:55 PM Gonzalo Martin Peci <pecigonz...@gmail.com>
wrote:

> Thanks again Luke, I tested the following in "change setting, test
> producing, review metrics" fashion:
>
> - Remove the `zstd` setting from the broker
>
> This had no effect; I could still see the conversions happening
>
> - Set the producer to compress to `zstd`
>
> This had an effect, and I could see the metric go down.
>
> My thought here is that maybe if the setting was on when the topic was
> created, maybe I have to explicitly change it in the topic? The strange
> thing is that I also tested this, and I still saw conversion.
>
> Do I understand correctly that messages from 9+ do not follow the same
> conversion as before? If you have a KIP that you know about, Im happy to
> read.
>

Reply via email to