Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-cdc-connector

CDC Connector (Debezium) Internals (WAL Slot, Snapshot & Outbox)

8 COMPONENTS · 7 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![CDC Connector (Debezium) Internals (WAL Slot, Snapshot & Outbox) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-cdc-connector/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-cdc-connector)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-cdc-connector)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-cdc-connector" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="CDC Connector (Debezium) Internals (WAL Slot, Snapshot & Outbox) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["OLTP Service"]
  pg_1[("Postgres WAL + Slot")]
  snap_2["Incremental Snapshot"]
  deb_3["Debezium Reader"]
  smt_4["Outbox Event Router"]
  sr_5[("Schema Registry")]
  kafka_6[("Apache Kafka Topics")]
  downstream_7["Downstream & OTel"]
  client_0 -->|"1. ACID row + · SQL"| pg_1
  pg_1 -->|"2. Stream WAL · pgoutput"| deb_3
  snap_2 -->|"Merge · Watermar"| deb_3
  deb_3 -->|"3. Transform · SMT"| smt_4
  sr_5 -->|"Register · HTTP"| smt_4
  kafka_6 -->|"Produce · Kafka"| smt_4
  smt_4 -.->|"4. Emit / · OTLP/API"| downstream_7

COMPONENT STACK (8)

  • OLTP ServiceSTATELESS
    Writes Row + Outbox
  • Postgres WAL + SlotSTATEFUL
    pgoutput logical replication
  • Incremental SnapshotSTATELESS
    Watermarked chunk backfill
  • Debezium ReaderSTATELESS
    Parses WAL -> Envelope event
  • Outbox Event RouterSTATELESS
    SMT extracts aggregate topic
  • Schema RegistrySTATEFUL
    Avro/Protobuf compatibility
  • Apache Kafka TopicsSTATEFUL
    Partitioned domain events
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (7)

  1. OLTP Service → Postgres WAL + Slot (ACID row +)[SQL]
  2. Postgres WAL + Slot → Debezium Reader (Stream WAL)[pgoutput]
  3. Incremental Snapshot → Debezium Reader (Merge)[Watermar]
  4. Debezium Reader → Outbox Event Router (Transform)[SMT]
  5. Schema Registry → Outbox Event Router (Register)[HTTP]
  6. Apache Kafka Topics → Outbox Event Router (Produce)[Kafka]
  7. Outbox Event Router → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →