kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neha Narkhede <neha.narkh...@gmail.com>
Subject Re: Snappy Compression on Kafka 0.7.2
Date Wed, 23 Jan 2013 21:40:11 GMT
That sounds like a bug. Please can you file a JIRA ?


On Wed, Jan 23, 2013 at 12:54 PM, James Baugh <James.Baugh@returnpath.com>wrote:

> I wrote a Kafka 0.7.2 Producer that is using Snappy compression
> (compression.codec=2)
>
> The producer works fine, but when the consumer tries to pull this data it
> throws a "kafka.common.UnknownCodecException: 2 is an unknown compression
> codec" error.
>
> If I set compression.codec=1 (gzip) then it works fine. Is snappy not
> available for the consumer libraries for 0.7.2?
>
> I am using the kafka.javaapi.consumer.SimpleConsumer package.
>
> Thanks,
>
> James
>
>

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