src/dazzle_back/events/publisher.py¶
Generated: 2026-03-30T04:38:46.191707+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Outbox Publisher Loop for Reliable Event Delivery.
The publisher loop is a background task that polls the outbox for pending events and publishes them to the event bus. This decouples the transactional write (to the outbox) from the actual publication (to the bus).
Features: - Polling with configu...
Key Exports¶
PublisherStatsPublisherConfigOutboxPublisherstatsis_runningstartstopdrainget_status
Dependencies¶
Imports¶
__future__.annotationsasynciologgingcollections.abc.Awaitablecollections.abc.Callabledataclasses.dataclassdataclasses.fielddatetime.UTCdatetime.datetimetyping.Anyuuid.uuid4dazzle_back.events.bus.EventBusdazzle_back.events.bus.PublishErrordazzle_back.events.outbox.EventOutboxdazzle_back.events.outbox.OutboxEntry
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Validates: connect is required
- Validates: bus is required
Tests¶
tests/unit/test_events.pytests/unit/test_events_api.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.