There are two algorithms: range and round robin. Range algorithm does balance for each topic independently. Round robin balance across all the topics the consumer is consuming from.
Jiangjie (Becket) Qin On 3/2/15, 2:05 AM, "sunil kalva" <sambarc...@gmail.com> wrote: >Is kafka load balancing based on number of partitions of a topic or number >partitions of all topics in a cluster ? > >-- >SunilKalva