Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> SyncProducer vs Producer

Copy link to this message
SyncProducer vs Producer

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?

Navneet Sharma