Kafka, mail # user - SyncProducer vs Producer - 2013-01-14, 18:27
 Search Hadoop and all its subprojects:

Switch to Plain View
Copy link to this message
-
SyncProducer vs Producer
Hi,

I am not able to understand difference between
kafka.javaapi.producer.Producer and kafka.javaapi.producer.SyncProducer.

Its become even more confusing since Producer expects Generics stating
message type whereas SyncProducer doesnt.

Also, SyncProducer deals with ByteBufferMessageSet

Basically i am trying to push data from Kafka broker to Hadoop HDFS and i
am trying to understand contrib/hadoop-consumer code.

Any pointers?

Thanks,
Navneet Sharma

 
+
Jun Rao 2013-01-14, 23:47
+
navneet sharma 2013-01-15, 07:50
+
Jun Rao 2013-01-15, 15:26
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