Consumer groups yaiku mekanisme Kafka kanggo konsumsi sing bisa diskalakan lan tahan gagal — konsumen ing grup bareng-bareng nglakoni kerja konsumsi partisi topik, kanthi rebalancing otomatis. Paham cara kerjane kanthi jero penting banget kanggo mbangun konsumer Kafka sing bisa diskalakan.
Carane consumer groups ngendisiplin karya
A CONSUMER GROUP = consumers cooperating to consume a topic:
→ each PARTITION is assigned to exactly ONE consumer in the group (at a time)
→ partitions are distributed across the group's consumers → PARALLEL consumption
→ e.g. 6 partitions, 3 consumers → 2 partitions each
→ scale consumption by adding consumers (UP TO the partition count — extra consumers idle)
