Hi,

I have created a topic with the number of partitions as 5 and replication 
factor as 3. I have 5 Kafka brokers up and running.

What happens if a broker with broker id '0' is down ?

My observation is as follows.


1.       The brokers are running as before and responding to the producers as 
well as the consumers.

2.       A new leader is elected for all the topics/partitions for which the 
broker with id 0 is the leader.

3.       The ISR is updated with the available brokers (in this case 2 brokers 
for some topic/partition combination).

4.       The ISR has 3 brokers after the broker with id 0 is up and running 
again.

I have a question on this:

Why the (topics/partition) combination which has broker with id 0 in their 
replication list does not find a new broker and replicate the messages? Is this 
the intended behavior of Kafka ?

Reply via email to