Distributed Message Queue
High-throughput pub-sub messaging system with persistent storage and consumer groups.
Designed a distributed message queue supporting 500k+ messages per second with consumer group semantics. Implemented partition-based sharding, offset management, and replication for fault tolerance. Messages are durably stored with configurable retention policies. The broker coordinates with Zookeeper for leader election and metadata management, ensuring no message loss even during failures.

Consumer groups allow parallel processing by distributing partitions among group members. Automatic rebalancing handles consumer additions/removals. Offset tracking enables exactly-once semantics with idempotent producers, making this suitable for critical business workflows.