Expand description
Domain Event Bus pattern.
In-process broadcast of domain events to interested subscribers.
Typically used between a write-side crate::cqrs::CqrsPattern
and downstream readers / sagas / external integrations.
v2 also ships a cluster-wide variant behind the bus-cluster
Cargo feature. Configure it via
BusBuilder::cluster / BusBuilder::topic /
BusBuilder::codec.
Structs§
- BusBuilder
- BusHandles
- Bus handles. Use
BusHandles::publishto push events; callBusHandles::subscribeto obtain a fresh receiver. - BusTopology
- Domain
Event Bus - Public handle to the bus pattern.