A server holding a partition can fail at any moment: the power goes off, a disk breaks. For records to survive this, Kafka keeps every partition on several brokers at once. The copies must be kept identical, and when a server goes down, Kafka must quickly decide which one is now in charge.
In this lesson
- Leader and followers
- Where the replicas live
- A broker goes down
- Who can become the leader
- Common mistake
- Key points