I am a newbie to Kafka and wanted to understand the behaviour of apache Kafka in below scenario.
Consider I have the topic with 3:
- partitions 3
- brokers 3
- replication factor 3
- min isr 2
- Producer acks = all
- Unclean leader election false
As per my understanding if broker 1 goes down there is no harm and no data loss as isr=2
and writes will be successful.
If node 1 comes back up it will again follow the leader and catch up.
My question is if node 1 never comes back up..also it's removed from isr list... My replication factor desired is 3... and if I add new node 4 ..how to automatically make node 4 copy the partitions from failed node 1...so that replication of 3 is still maintained?