PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Bloomberg

Explain Kafka partitions and delivery semantics

Last updated: Apr 28, 2026

Quick Overview

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.

  • hard
  • Bloomberg
  • System Design
  • Software Engineer

Explain Kafka partitions and delivery semantics

Company: Bloomberg

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Technical Screen

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.

Quick Answer: 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.

Related Interview Questions

  • Design streaming mention analytics with search and alerts - Bloomberg (hard)
  • Design a Global Marketing Email Platform - Bloomberg (medium)
  • Design a fair event registration queue API - Bloomberg (medium)
  • Design in-memory trade subscription processor - Bloomberg (medium)
  • Design a packet reassembler API - Bloomberg (medium)
Bloomberg logo
Bloomberg
Sep 6, 2025, 12:00 AM
Software Engineer
Technical Screen
System Design
6
0

Kafka partitions, replication, consumer groups, and delivery guarantees

Context

You are designing and evaluating a Kafka-based data pipeline and need to reason about ordering, scalability, and fault tolerance, as well as how to achieve strong delivery guarantees.

Tasks

  1. Explain Kafka partitions, replication, and consumer groups:
    • What each is, how it works, and how they interact.
  2. Describe how these mechanisms affect:
    • Ordering
    • Scalability
    • Fault tolerance
  3. Compare delivery guarantees:
    • At-most-once
    • At-least-once
    • Exactly-once
  4. Describe how to implement idempotent, exactly-once processing end-to-end:
    • Within Kafka (topic to topic)
    • When writing to external stores (e.g., databases)
    • Include the key configs, algorithms, and failure handling

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Bloomberg•More Software Engineer•Bloomberg Software Engineer•Bloomberg System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.