This question evaluates understanding of real-time stream processing concepts such as event filtering, stateful per-service counting, sliding-window moving averages, late-event handling, scalability, and fault-tolerant state management for monitoring and alerting.
Design a core component in a streaming system:
Input:
service_id
,
timestamp
,
log_level
,
message
.
Tasks:
Describe the architecture, state management, windowing approach, and how you handle late events, scale, and fault tolerance.