Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_exactly-once-platform

End-to-End Exactly-Once Processing Platform

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![End-to-End Exactly-Once Processing Platform — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_exactly-once-platform/opengraph-image)](https://archos.sageideas.dev/d/dgm_exactly-once-platform)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_exactly-once-platform)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_exactly-once-platform" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="End-to-End Exactly-Once Processing Platform — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Client / Webhook"]
  ing_1["Idempotent API"]
  db1_2[("Source OLTP + Outbox")]
  kfk_3[("Kafka EOS Topic")]
  flk_4[("Flink EOS Processor")]
  snk_5[("Idempotent Sink DB")]
  downstream_6["Downstream & OTel"]
  client_0 -->|"1. POST + · HTTPS"| ing_1
  ing_1 -->|"2. ACID state · SQL"| db1_2
  db1_2 -->|"3. CDC · Kafka"| kfk_3
  flk_4 -->|"read_commi · Kafka EO"| kfk_3
  flk_4 -->|"Dedup · SQL/2PC"| snk_5
  kfk_3 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Client / WebhookSTATELESS
    UUID Idempotency-Key
  • Idempotent APISTATELESS
    Atomic + Outbox
  • Source OLTP + OutboxSTATEFUL
    Same ACID TX commits both
  • Kafka EOS TopicSTATEFUL
    Idempotent PID + read_committed
  • Flink EOS ProcessorSTATEFUL
    Chandy-Lamport + 2PC sink
  • Idempotent Sink DBSTATEFUL
    ON CONFLICT DO NOTHING
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Client / Webhook → Idempotent API (POST +)[HTTPS]
  2. Idempotent API → Source OLTP + Outbox (ACID state)[SQL]
  3. Source OLTP + Outbox → Kafka EOS Topic (CDC)[Kafka]
  4. Flink EOS Processor → Kafka EOS Topic (read_commi)[Kafka EO]
  5. Flink EOS Processor → Idempotent Sink DB (Dedup)[SQL/2PC]
  6. Kafka EOS Topic → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →