Exactly-Once Is a Myth: Idempotent Consumers in Practice
Kafka’s exactly-once stops at Kafka’s edge, so here’s a Python idempotent consumer with an inbox table, hard-killed 100 times mid-stream to count duplicates and losses.
Kafka’s exactly-once stops at Kafka’s edge, so here’s a Python idempotent consumer with an inbox table, hard-killed 100 times mid-stream to count duplicates and losses.
Your order saved, but the event never reached Kafka. Build the transactional outbox pattern in Python and Postgres: a SKIP LOCKED relay that’s safe on several workers, fixes for ordering and cleanup, and lessons from seven teams that hit the dual write.