kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: compression codec configuration
Date Thu, 16 Aug 2012 16:39:37 GMT
Yes, each message can have a different compression codec.

Thanks,

Jun

On Wed, Aug 15, 2012 at 10:22 PM, Corbin Hoenes <corbin@tynt.com> wrote:

> compression.codec       0 (No compression)      This parameter allows you
> to specify the compression codec for all data generated by this producer.
>
>
> Looking at the source looks like I can specify 1 for gzip and 2 for snappy.
>
> Can I have a producer using snappy and one using gzip publishing to the
> same topic and have the kafka server still understand how to unpack
> messages?  (Just curious).
>
> Also if someone could update the docs to have the acceptable values for
> compression.codec that would be a nice touch.
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message