LeetDezine — System Design and Internals
Event Broker
Initializing search
    • Home
    • Start Here
    • Concepts
    • Back of Envelope
    • Foundation
    • Ascent
    • Expedition
    • Summit
    • Battleground
    • Home
    • Start Here
    • Concepts
      • Fundamentals
      • Distributed Systems
      • Caching
      • Storage & Databases
      • Database Types
      • Messaging
      • Event Broker
        • Architecture
        • Producer
        • Consumer
        • Advanced
        • Backpressure
        • Kafka vs SQS vs RabbitMQ
      • Event-Driven Patterns
      • Data Processing
    • Back of Envelope
    • Foundation
    • Ascent
    • Expedition
    • Summit
    • Battleground
    1. Home
    2. Concepts
    3. Event Broker
    07

    Concepts

    Event Broker

    Kafka from the ground up — why it exists, how it stores data, and the design decisions behind partitions, offsets, and consumer groups.

    Architecture
    Why Kafka exists, page cache writes, topics, partitions, brokers, replication, ISR, and hot partition problems.
    TopicsPartitionsReplicationISR
    Open topic →
    Producer
    Partitioner strategies, batching, and compression — how producers balance throughput against ordering guarantees.
    PartitionersBatchingCompressionAcks
    Open topic →
    Consumer
    Pull model, offsets, offset storage, consumer groups, and the rebalancing problem when group membership changes.
    OffsetsConsumer GroupsRebalancingLag
    Open topic →
    Advanced
    Retention policies and exactly-once processing — the hardest guarantees to get right in a distributed log.
    RetentionExactly-OnceIdempotent ProducerTransactions
    Open topic →
    Backpressure
    Consumer lag, scaling consumers, load shedding, and the signals that tell you a consumer is falling behind.
    Consumer LagScalingLoad SheddingBackpressure Signals
    Open topic →
    Kafka vs SQS vs RabbitMQ
    The fundamental difference between a log and a queue. Retention, routing, ordering, throughput — when to choose what.
    Log vs QueueRetentionRoutingWhen To Choose
    Open topic →