Explain Kafka partitions and delivery semantics
BloombergSoftware Engineer · Technical ScreenLast updated
This question evaluates understanding of distributed messaging and stream-processing concepts—specifically Kafka internals such as partitions, replication, consumer groups, and delivery semantics—and the candidate's competency in reasoning about ordering, scalability, fault tolerance, and transactional guarantees.
Explain how Apache Kafka partitions, replication, and consumer groups work. How do these affect ordering, scalability, and fault tolerance? Compare at-most-once, at-least-once, and exactly-once delivery, and describe how you would implement idempotent, exactly-once processing end to end.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.