is kafka producer capable of sending multiple messages in a list? -


in kafka v 0.8.2, still possible/beneficial send list of producerrecords producer opposed single 1 @ time? examining api seems org.apache.kafka.clients.producer.kafkaproducer not have ability send multiple producerrecords using 1 send call.

however, in producer under javaapi, it's possible send list of keyedmessages. can explain difference or point me in right direction? appreciated.

the producer under javaapi old implementation has been superseded new 1 in clients. new producer implementation can still batch messages in background , when doing call send you'll future every message.

batch size , latency can controlled parameters "batch.size" , "linger.ms". see documentation details.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -