Interview practice question
Building user sessions from clickstream
Data Engineering · Kafka Streaming · Intermediate
Product wants live metrics on user sessions from clickstream events. How do you compute sessions in a streaming pipeline?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Key events by user ID.
- Session windows with an inactivity gap (e.g., 30 minutes).
- Event-time processing with watermarks.
- Emit session summaries when sessions close.
- Handle late events merging sessions.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.