Intermediatehow it works Verified ~8 min
How do you make sure acknowledged writes are not lost?
Quick answerFree
Use replication factor 3, producer acks=all, topic min.insync.replicas=2, the idempotent producer, and unclean leader election off. A write is acknowledged only after two in-sync replicas have it, so losing one broker loses no acknowledged data.
Detailed answer· ~290 words
Interview PrepUnlock the full answer with Interview Prep
Get a ~290-word model answer, 5 key points, a visual explainer, 4 common mistakes and 5 follow-ups, plus 21 more Apache Kafka questions.
Also in Pro (₹499 / 90 days).
Key points· 5 points
Interview PrepUnlock with Interview Prep
Visual explainer· animated, step by step
Interview PrepUnlock with Interview Prep
Common mistakes· 4
Interview PrepLocked
Best practices· 3
Interview PrepLocked
Likely follow-ups· 5 questions
Interview PrepUnlock with Interview Prep
+ 21 more Apache Kafka questions in Interview Prep, each with the full answer.