Exactly-once is a lie, but the outbox pattern gets close

Why you can’t atomically write to Postgres and Kafka, and how the outbox pattern with idempotent consumers gets you exactly-once semantics.

March 2026 · 6 min · GitHub