Kafka Exactly-Once: Idempotent Producers, Transactions & Two-Phase Commit Explained
This article explains Kafka's exactly-once semantics through idempotent producers, transactions, and read-committed isolation, detailing real incidents, configuration patterns, source-code mechanisms, and the critical boundary that Kafka transactions cannot cover external side effects, requiring application-level idempotence for true end-to-end exactly-once.
