architecture decision
ADR-013: Publish order metrics once per day
OrderAnalytics publishes daily order metrics rather than streaming every operational change into analytical consumers.
Decision RecordDecember 4, 2024AcceptedAnalytics
Context
Business reporting needs stable daily metrics more than real-time event streams. Streaming every order change adds complexity to analytics pipelines.
Decision
OrderAnalytics publishes OrderMetricsCalculated once per reporting day. Operational systems remain event driven, while analytical consumers use the daily data product.
Consequences
Reports are consistent and easier to reconcile. Real-time operations still use domain events and fulfillment read models.