Your Kafka cluster has four brokers. The topic t1 on the cluster has two partitions, and it has a replication factor of three. You create a Consumer Group with four consumers, which subscribes to t1.
In the scenario above, how many Controllers are in the Kafka cluster?
In a Kafka cluster, only one broker acts as the Controller at any given time. The Controller is responsible for managing cluster metadata, such as partition leadership and broker status. Even if the cluster has multiple brokers (in this case, four), only one is elected as the Controller, and others serve as regular brokers. If the current Controller fails, another broker is automatically elected to take its place.
Eloisa
7 months agoSheron
7 months agoLorenza
7 months agoStevie
7 months agoCiara
8 months agoJerlene
8 months agoSophia
8 months agoAnnabelle
8 months agoJeanice
9 months agoLoise
9 months agoShad
9 months agoJose
9 months agoOctavio
9 months agoMadelyn
12 months agoAvery
10 months agoCamellia
11 months agoIsaac
11 months agoGabriele
12 months agoMozell
11 months agoTrevor
11 months agoJade
11 months agoBettina
11 months agoEdna
12 months agoStephania
1 year agoJolanda
11 months agoReed
11 months agoMaryanne
1 year agoDarci
11 months agoMelita
11 months agoHoward
12 months agoPearlene
1 year agoHildred
1 year agoLinwood
1 year agoDiane
1 year agoJudy
1 year agoJackie
1 year agoDannette
1 year ago