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.

HardTechnical
65 practiced

Design an idempotent sink that writes streaming results into an external database that does not support distributed transactions, ensuring no duplicate rows even when the streaming job restarts and reprocesses.

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?

EasyTechnical
44 practiced

Write a short producer configuration snippet (any mainstream Kafka client) for a use case demanding durability over raw throughput: no message loss even under broker failure, and no duplicate writes from producer retries. Explain what each setting does.

MediumTechnical
66 practiced

What window trigger types are available in stream processing (count-based, time-based, continuous, custom), and for a live analytics use case needing low latency, how would you choose between early triggers and waiting for the window to close?

HardSystem Design
46 practiced

Design a multi-region event-streaming topology where each region accepts local writes and reads with low local latency, while still maintaining a globally consistent materialized view. What replication approach and conflict-handling would you use?

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.