Day 7 of 14 35 minReplicasISRacks
See how Kafka survives broker failures. Learn about leader and follower replicas, the in-sync replica set, the high watermark, what acks=0, 1 and all really promise, and how min.insync.replicas stops silent data loss.
By the end of today you can
- Explain leaders, followers and the replication factor
- Describe the in-sync replica set (ISR) and the high watermark
- Explain what acks=0, acks=1 and acks=all guarantee
- Use min.insync.replicas with acks=all to prevent data loss
- Predict what happens when one or more brokers fail
What's inside
- 6 sections
- 3 diagrams and mind maps
- 5 code examples you can run
- 5-question quiz
- 1Leaders and followers
- 2A broker fails
- 3What acks really means
- 4The high watermark
- 5min.insync.replicas: refuse unsafe writes
- 6The standard safe setup
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free