src/dazzle_back/events/topology_drift.py¶
Generated: 2026-03-30T04:38:46.262319+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Topology Drift Detection for Event-First Architecture.
Detects and reports differences between the expected event topology (defined in AppSpec) and the actual runtime state (topics, consumers, partitions in the event bus).
Drift Types: - MISSING_TOPIC: Topic defined in AppSpec but not in bus - EXT...
Key Exports¶
DriftTypeDriftSeverityDriftIssueTopologyFingerprintExpectedTopicExpectedConsumerExpectedTopologyTopologyExtractorTopologyDriftDetectorDriftReportcheck_topology_driftto_dictto_dictfrom_dictextractdetectget_current_fingerprintto_dict
Dependencies¶
Imports¶
__future__.annotationshashlibjsonloggingdataclasses.dataclassdataclasses.fielddatetime.UTCdatetime.datetimeenum.StrEnumtyping.TYPE_CHECKINGtyping.Anydazzle.core.ir.AppSpecdazzle_back.events.bus.EventBus
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_events.pytests/unit/test_events_api.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.