classConsumerRebalancer[K, V] extends IZkStateListener with IZkDataListener with IZkChildListener with LazyLogging
Manages rebalancing of consumers across jvms
Consumer info is kept in zookeeper - changes to partitions or number of consumers triggers a
zookeeper listener, which causes a rebalance to be run.
During rebalance, each partition will be assigned to a single consumer - if there are more
consumers than partitions, some consumers will not receive any data.
Linear Supertypes
LazyLogging, IZkChildListener, IZkDataListener, IZkStateListener, AnyRef, Any
Manages rebalancing of consumers across jvms
Consumer info is kept in zookeeper - changes to partitions or number of consumers triggers a zookeeper listener, which causes a rebalance to be run.
During rebalance, each partition will be assigned to a single consumer - if there are more consumers than partitions, some consumers will not receive any data.