Hi,
I have a cluster of 3 Kafka brokers and a remote producer. Producer
started to send messages to *SampleTopic*. Then I blocked the network
connectivity between the Producer and the leader node for the topic
*SampleTopic* but network connectivity is healthy between the cluster and
producer is able to reach the other two nodes.
*With Script*
sh kafka-topics.sh --zookeeper localhost --describe
Topic:SampleTopic PartitionCount:1 ReplicationFactor:3 Configs:
Topic: SampleTopic Partition: 0 Leader: 1 Replicas: 1,2,0
Isr: 1,2,0
Producer tries forever to reach the leader node by throwing connection
refused exception. I understand that when there is a node failure leader
gets switched. Why it's not switching the leader in this scenario ?
--
Kamal C