Stream Processing and Event Streaming Questions

Building on event-streaming platforms: Kafka and message queues, event sourcing, partitioning, consumer groups, exactly-once vs at-least-once delivery, and windowing. Covers handling late and out-of-order events, watermarks, and stateful stream operators. The core skill for real-time data engineering.

MediumTechnical
35 practiced

What factors should drive partition-key selection for a topic (cardinality, hot-key avoidance, the ordering a downstream aggregation actually needs)? Walk through the trade-offs for a concrete topic with a natural user or entity ID.

HardTechnical
42 practiced

A small number of heavy keys are producing most of a topic's traffic, creating hot partitions and outage-like symptoms. Describe how you'd detect this and remediate it without breaking the per-key ordering guarantee downstream consumers rely on.

HardTechnical
45 practiced

Discuss the trade-offs between a single global watermark and per-key or per-partition watermarks. Give an example where each is preferable, and what correctness risk the coarser choice introduces.

MediumTechnical
36 practiced

Design a deduplication strategy for a pipeline running under at-least-once delivery, where events carry an ID and timestamp but some IDs may collide or be missing. Cover the dedup-store choice, a time-to-live for the dedup window, and how you'd bound memory while still catching duplicates that arrive far apart.

HardSystem Design
41 practiced

Design the operational controls for a multi-tenant streaming platform (shared Kafka cluster and stream-processing jobs) used by many teams: resource quotas, access controls, network isolation, and how you'd prevent one noisy tenant from degrading others.

Unlock Full Question Bank

Get access to all Stream Processing and Event Streaming interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.