Kafka, mail # user - How to set Group Id in SimpleConsumer - 2014-02-19, 13:49
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
How to set Group Id in SimpleConsumer

I just wonder how can I assign GroupId when I use SimpleConsumer (
for fetching data from Kafka.

Is it the last parameter of SimpleConsumer  (leadBroker, a_port, soTimeOut,
buffer_size, clientName) ? (i.e. clientName)
Maybe I did something wrong, but I ran two consumers with same "clientName"
and still both consumers received exactly same amount and same data from
Kafka while it is supposed that the data is divided between these two
consumers (due to load balancing)!


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