Kafka, mail # user - About kafka 0.8 producer zookeeper-based load balancing on per-request basis - 2013-01-15, 05:36
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Plain View
+
Jun Rao 2013-01-15, 05:53
+
Jun Rao 2013-01-15, 15:07
+
Neha Narkhede 2013-01-15, 05:59
Copy link to this message
-
About kafka 0.8 producer zookeeper-based load balancing on per-request basis
Hi,
We know, in kafka 0.8, producer connect to broker directly, it without connecting to zookeeper. Than how it achieve zookeeper-based load balance on per-request basis?
Actually, when a topic be created, its partition will distributed in one or more brokers. When a message be sent, it will be delivered to a certain partition according to its key word. That is to say ,a certain must be sent to a fixed partition on a fixed broker. How the so called load balancing works?

Best Regards

 
+
Chris Riccomini 2013-01-15, 19:26
+
Neha Narkhede 2013-01-15, 19:30
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