Design streaming analytics that ingests high-volume events, computes windowed aggregates, and powers live dashboards. Handle late and out-of-order data with clear semantics for billing-grade use cases.
Functional requirements
- Ingest millions of events per second with a schema registry
- Continuous aggregations: tumbling, sliding, and session windows
- SQL or API access for dashboards, alerts, and embedded analytics
- Late data handling with watermarks, retractions, or corrections
- Multi-tenant quotas, namespaces, and usage metering
Non-functional requirements
- Horizontally scale stream partitions and stateful operators
- Durable logs with replay from checkpoints for exactly-once sinks
- Low end-to-end latency for KPIs that matter operationally
- Cost-efficient retention in cold object storage