Kafka, mail # user - Re: Partition election on consumer - 2013-10-08, 14:28
 Search Hadoop and all its subprojects:

Switch to Plain View
+
Markus Roder 2013-10-08, 09:12
Copy link to this message
-
Re: Partition election on consumer
Currently there is no way to invoke a callback on the rebalance operation.
But this is certainly something to consider for Kafka 0.9 since we are
planning a client rewrite for that release. You can find the proposal in
progress here -
https://cwiki.apache.org/confluence/display/KAFKA/Client+Rewrite#ClientRewrite-ConsumerAPI

For now your best bet is to use the SimpleConsumer and implement your own
rebalancing strategy. Another hacky approach is to register zookeeper
watches on the /consumers/<group>/owners path that indicates the partition
ownership change.

Thanks,
Neha
On Oct 8, 2013 2:12 AM, "Markus Roder" <[EMAIL PROTECTED]> wrote:
 
+
Markus Roder 2013-10-09, 06:42
+
Neha Narkhede 2013-10-09, 16:32
+
Markus Roder 2013-10-11, 10:00
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