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
5 months agoSheron
5 months agoLorenza
6 months agoStevie
6 months agoCiara
6 months agoJerlene
6 months agoSophia
7 months agoAnnabelle
7 months agoJeanice
7 months agoLoise
7 months agoShad
7 months agoJose
8 months agoOctavio
8 months agoMadelyn
10 months agoAvery
8 months agoCamellia
9 months agoIsaac
9 months agoGabriele
10 months agoMozell
9 months agoTrevor
10 months agoJade
10 months agoBettina
10 months agoEdna
10 months agoStephania
10 months agoJolanda
9 months agoReed
10 months agoMaryanne
11 months agoDarci
10 months agoMelita
10 months agoHoward
10 months agoPearlene
11 months agoHildred
11 months agoLinwood
11 months agoDiane
11 months agoJudy
11 months agoJackie
11 months agoDannette
11 months ago