Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-pubsub-topic

Pub/Sub Topic Service Internals (Fan-Out Subscriptions, Filters & Ack)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Pub/Sub Topic Service Internals (Fan-Out Subscriptions, Filters & Ack) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-pubsub-topic/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-pubsub-topic)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-pubsub-topic)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-pubsub-topic" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Pub/Sub Topic Service Internals (Fan-Out Subscriptions, Filters & Ack) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Event Publishers"]
  n1_1["Topic Ingress Edge"]
  n2a_2[("Topic Fan-Out Core")]
  n2b_3[("Filter & Subscription")]
  n3_4["Push / Pull Sinks"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Publish · HTTPS"| n1_1
  n1_1 -->|"2a. Fan-out · IPC"| n2a_2
  n1_1 -.->|"2b. Match sub · Async"| n2b_3
  n2a_2 -->|"3a. Deliver · HTTPS"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Event PublishersSTATELESS
    Domain event broadcasts
  • Topic Ingress EdgeSTATELESS
    Publish once + schema check
  • Topic Fan-Out CoreSTATEFUL
    Copy refs to N subscriptions
  • Filter & SubscriptionSTATEFUL
    Independent cursor + filter
  • Push / Pull SinksSTATELESS
    HTTP webhook or gRPC pull
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Event Publishers → Topic Ingress Edge (Publish)[HTTPS]
  2. Topic Ingress Edge → Topic Fan-Out Core (Fan-out)[IPC]
  3. Topic Ingress Edge → Filter & Subscription (Match sub)[Async]
  4. Topic Fan-Out Core → Push / Pull Sinks (Deliver)[HTTPS]
  5. Filter & Subscription → Push / Pull Sinks (Sync)[Control]
  6. Push / Pull Sinks → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →