James Baugh 2013-01-23, 21:19
-Re: Snappy Compression on Kafka 0.7.2
Neha Narkhede 2013-01-23, 21:40
That sounds like a bug. Please can you file a JIRA ?
On Wed, Jan 23, 2013 at 12:54 PM, James Baugh <[EMAIL PROTECTED]>wrote:
> I wrote a Kafka 0.7.2 Producer that is using Snappy compression
> 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.