The transactional outbox
Write the event in the same transaction as the row, relay it later, and accept at-least-once — then make the consumer idempotent.
This lesson is outlined, not yet written
It is part of the curriculum so you can see what is coming. Here is what it will cover.
- Dual-write problem
- Outbox table
- Relay: polling vs CDC
- At-least-once
- Debezium