Skip to main content

Module bus

Module bus 

Source
Expand description

The EventBus trait — the Bridge’s backend portability boundary.

Structs§

PublishAck
Acknowledgment for a published event.
StoredEvent
An event as stored/replayed.

Enums§

BusError
Bus errors.

Traits§

EventBus
Publish/consume abstraction. Synchronous by design: the harness calls it from worker threads (never the hot path), and network backends manage their own I/O runtime internally.

Functions§

partition_for
Stable partition assignment: FNV-1a of the key modulo partition count. Deterministic across processes and platforms so replay tooling and the broker always agree (a hash mismatch would silently split an agent’s ordered stream).