InterviewStack.io LogoInterviewStack.io

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
46 practiced

You must decide whether a customer-facing real-time dashboard should wait for late data before closing a window, or close early and risk revising numbers later. Walk through the freshness-versus-correctness trade-off and how you'd set the watermark and allowed-lateness values.

EasyTechnical
44 practiced

Compare Kafka's time/size-based retention with log compaction. For a topic tracking the latest state per key (such as a user profile) versus a topic used as a raw audit log, which retention policy fits each, and what role do tombstone records play in compaction?

MediumTechnical
42 practiced

Design a comprehensive testing strategy for a stateful stream-processing pipeline: unit tests for individual operators, integration tests against an embedded or containerized broker, and production-like end-to-end tests. What's genuinely hard to test in a streaming pipeline that isn't hard in a batch job?

EasyTechnical
60 practiced

Define at-most-once, at-least-once, and exactly-once processing guarantees in a streaming system. For each, give a concrete example of how a producer, broker, and consumer would need to behave to provide it, and why exactly-once is the hardest to guarantee end to end.

HardTechnical
47 practiced

A consumer group is repeatedly rebalancing, causing task restarts, garbage-collection pauses, and duplicate processing. Walk through your troubleshooting approach and how you'd stabilize the group.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.