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
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?

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?

HardSystem Design
47 practiced

Design a plan to re-partition a Kafka topic to support significantly higher throughput while preserving per-key ordering for existing consumers, including how you'd cut over without downtime or duplicate processing.

MediumTechnical
37 practiced

Design the monitoring and alerting strategy for a production streaming pipeline that feeds business dashboards: which metrics would you track across brokers, producers, consumers, and the processing job, and what would trigger a page versus a ticket?

HardTechnical
42 practiced

Explain how to achieve end-to-end exactly-once semantics for a pipeline that reads from Kafka, processes in a stream processor such as Flink, and writes to an external sink that does not natively support Kafka's transactions (for example a relational database or object store). Cover Kafka producer idempotence and transactions, the processor's checkpointing and two-phase-commit sink support, and idempotent writes at the sink.

That is every published Stream Processing and Event Streaming question for Full-Stack Developer so far. Browse the other topics in this category, or practice this one interactively.