Design a Kafka/Rabbit-like broker with topics/partitions, consumer groups, at-least-once delivery, and retention policies. Ordering and replay are core semantics.
Functional requirements
- Publish messages to topics with partitioning keys
- Consumer groups with offset commits
- Configurable retention and compaction
- ACLs for producers/consumers
Non-functional requirements
- High throughput sequential disk append
- Fault-tolerant replication quorum
- Predictable latency under load