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
[](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_5COMPONENT STACK (6)
- Event PublishersSTATELESSDomain event broadcasts
- Topic Ingress EdgeSTATELESSPublish once + schema check
- Topic Fan-Out CoreSTATEFULCopy refs to N subscriptions
- Filter & SubscriptionSTATEFULIndependent cursor + filter
- Push / Pull SinksSTATELESSHTTP webhook or gRPC pull
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Event Publishers → Topic Ingress Edge (Publish)[HTTPS]
- Topic Ingress Edge → Topic Fan-Out Core (Fan-out)[IPC]
- Topic Ingress Edge → Filter & Subscription (Match sub)[Async]
- Topic Fan-Out Core → Push / Pull Sinks (Deliver)[HTTPS]
- Filter & Subscription → Push / Pull Sinks (Sync)[Control]
- Push / Pull Sinks → Downstream & OTel (Emit /)[OTLP/API]