The consumer lease
You start ten consumers against a four-partition topic. How many of them do any work?
A group of consumers shares out the partitions of a topic, and each partition is leased to exactly one of them. The dials set how many of each there are, the tabs change who hands out the work, and a dropdown kills a member mid-shift. Watch the idle consumers appear, and watch what the reshuffle costs.
Three dials and one failure selector. Every number updates as soon as you change a control.
try this Push Consumers in the group past Partitions in each topic and watch who holds nothing under The group.
Included with a plan
This lab is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.
see also ZooKeeper: Wait-free coordination for Internet-scale systems in Papers.