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

For a real-time scoring use case, compare embedding a machine learning model's inference directly inside the stream-processing job versus calling out to a separate model-serving service. What drives the choice?

HardTechnical
37 practiced

A client needs effectively-exactly-once writes into a system of record (for example a ledger or data warehouse) whose sink does not support distributed transactions. Given the available techniques (Kafka transactions with a two-phase-commit sink, idempotent upserts with dedup keys, outbox-plus-CDC, an external coordinator), which would you actually implement for a high-throughput case, and why?

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.

MediumTechnical
35 practiced

Compare Kafka Streams, Apache Flink, and Spark Structured Streaming as stream-processing engines: latency model, state management, exactly-once support, and deployment model. For a given low-latency, stateful use case, which would you recommend and why?

MediumTechnical
35 practiced

Events can arrive well beyond your allowed-lateness window, sometimes hours or days late. Describe practical strategies for handling this (recompute historical results, side-output late records, tiered storage for rare late arrivals) and the cost trade-offs of each.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.