Exactly-Once with Spring Kafka on Boot 4: Idempotent Producers and Transactions
A beginner-to-advanced guide to exactly-once semantics with Spring Kafka on Spring Boot 4.1 — idempotent producers, transactions, and read-process-write. Verified against a live broker: the acks=1 setting that silently disables idempotence, the transaction markers that break offset arithmetic (but not consumer lag), the random transactional.id that defeats fencing entirely, the database boundary Kafka cannot cross, and what a transaction actually costs.