Kafka, mail # user - Re: Error in Kafka Producer - 2014-01-23, 03:46
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Error in Kafka Producer
Hello,

In your case the key's type is String, not byte array, so you need to
override the following property:

key.serializer.class -> "kafka.serializer.StringEncoder"

Details of the producer configs can be found:

http://kafka.apache.org/documentation.html#producerconfigs
On Wed, Jan 22, 2014 at 4:51 PM, Cassa L <[EMAIL PROTECTED]> wrote:

 
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