Transactional Outbox Pattern
Reliable event publishing via an outbox table + relay process.
Rendering…
Make it your own.
flowchart LR
App[App tx] -->|same DB tx| Tbl[(Domain table)]
App -->|same DB tx| Outbox[(Outbox table)]
Relay["Outbox relay<br/>(poller / CDC)"] --> Outbox
Relay --> Bus[(Message broker)]
Bus --> C1[Consumer 1]
Bus --> C2[Consumer 2]
classDef good fill:#dcfce7,stroke:#166534;
class Outbox,Relay good