Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Re: Snappy Compression on Kafka 0.7.2


Copy link to this message
-
Re: Snappy Compression on Kafka 0.7.2
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
> (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
>
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB