ARCHOS 525 BLUEPRINT · /d/dgm_cdc-failure-backfill
CDC failure handling and backfill (drill-down)
10 COMPONENTS · 13 FLOWS · UPDATED 2026-11-19
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_cdc-failure-backfill) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_cdc-failure-backfill)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_cdc-failure-backfill" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="CDC failure handling and backfill (drill-down) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
operator_0[("Platform Operator")]
analyst_1[("Data Analyst")]
pg_2[("PostgreSQL")]
orch_3[("Workflow orchestrator")]
conn_4[("Source connector")]
log_5[("Event log")]
stream_6[("Stream processing application")]
enriched_7[("Enriched layer")]
registry_8[("Schema registry")]
metrics_9[("Traces, metrics and logs")]
operator_0 -->|"1. Starts · Workflow trigger over HTTPS"| orch_3
orch_3 -->|"2. Signals · SQL insert into the signal table on"| pg_2
pg_2 -->|"3. Reads WAL · Replication protocol over TLS; de"| conn_4
conn_4 -->|"4. Publishes · Kafka producer protocol"| log_5
log_5 -->|"5. Consumes · Kafka consumer protocol"| stream_6
stream_6 -->|"6. Merges · Table commit over TLS"| enriched_7
enriched_7 -->|"7. Answers · Table read over TLS"| analyst_1
conn_4 -->|"Registers · Schema registration over HTTPS"| registry_8
orch_3 -->|"Counts rows · Read-only SQL query (SELECT grant)"| pg_2
orch_3 -->|"Counts · Read-only table query over TLS"| enriched_7
conn_4 -->|"Beats · Heartbeat write into the heartbeat table"| pg_2
pg_2 -->|"Reports · Metrics scrape"| metrics_9
conn_4 -->|"Reports · Metrics scrape"| metrics_9COMPONENT STACK (10)
- Platform OperatorSTATEFULStarts a backfill and reads the checks
- Data AnalystSTATEFULReads the current tables
- PostgreSQLSTATEFULSlot holds the log until the connector reads it
- Workflow orchestratorSTATEFULRuns backfill, then counts rows and keys
- Source connectorSTATEFULHeartbeats keep the slot moving on quiet tables
- Event logSTATEFULPer-key ordered, replayable change events
- Stream processing applicationSTATEFULMerges by key and source log position
- Enriched layerSTATEFULLatest row per key, in an open table format
- Schema registrySTATEFULRejects a breaking change at the connector
- Traces, metrics and logsSTATEFULSlot lag and connector state
REQUEST & DATA FLOW (13)
- Platform Operator → Workflow orchestrator (Starts)[Workflow trigger over HTTPS]
- Workflow orchestrator → PostgreSQL (Signals)[SQL insert into the signal table only (INSERT grant) over TLS]
- PostgreSQL → Source connector (Reads WAL)[Replication protocol over TLS; dedicated replication role; WAL retention cap]
- Source connector → Event log (Publishes)[Kafka producer protocol]
- Event log → Stream processing application (Consumes)[Kafka consumer protocol]
- Stream processing application → Enriched layer (Merges)[Table commit over TLS]
- Enriched layer → Data Analyst (Answers)[Table read over TLS]
- Source connector → Schema registry (Registers)[Schema registration over HTTPS]
- Workflow orchestrator → PostgreSQL (Counts rows)[Read-only SQL query (SELECT grant) over TLS]
- Workflow orchestrator → Enriched layer (Counts)[Read-only table query over TLS]
- Source connector → PostgreSQL (Beats)[Heartbeat write into the heartbeat table only over TLS]
- PostgreSQL → Traces, metrics and logs (Reports)[Metrics scrape]
- Source connector → Traces, metrics and logs (Reports)[Metrics scrape]