acks=all waits for every in-sync replica to acknowledge. If replicas have fallen out of the ISR, 'every in-sync replica' can mean just the leader - and a single broker failure loses acknowledged writes.
Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.
Published 2026-08-25