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

Switch to Threaded View
Kafka, mail # user - Kafka Producer load distribution

Copy link to this message
Re: Kafka Producer load distribution
Joel Koshy 2014-03-06, 01:04

I doubt that it helps a whole lot - especially if you let the producer
batch messages in a single request (default).
You can use the SyncProducer or SimpleConsumer class - which provide a
send(<request>) API that can accept a topic metadata request and
returns a topic metadata response.