Transactional Outbox with Change Data Capture

Transactional Outbox with Change Data Capture A data-flow diagram generated by Archify. 01 / Service 02 / Database 03 / Capture 04 / Stream 05 / Consumers Order service · one local transaction · 01 / Service Order service one local transaction orders table · business state · 02 / Database orders table business state outbox table · event rows · 02 / Database outbox table event rows Debezium CDC · reads WAL / binlog · 03 / Capture Debezium CDC reads WAL / binlog Kafka topic · order-events · 04 / Stream Kafka topic order-events Inventory · idempotent consumer · 05 / Consumers Inventory idempotent consumer Lakehouse · analytics · 05 / Consumers Lakehouse analytics INSERT order INSERT event log change publish consume sink Legend primary data data store data flow

Atomic

  • • State and event commit in one DB transaction

At least once

  • • Consumers dedupe by event ID
© 2026 Samir Kumar Sahoo. All rights reserved.