Cartel is a modular message broker written in Rust, inspired by Kafka. It provides a TCP-based client-server architecture with blazing fast message delivery.
cargo run -p broker-server
Optional with CLI args:
cargo run -p broker-server -- --host 127.0.0.1 --port 9082 --verbose 2
cargo test
tokio
– async runtimetracing
– structured loggingclap
– command-line argument parsingserde
+bincode
– message serialization
- Set up a basic request/response protocol over TCP
- Implement producer publishing and consumer fetch APIs
- Add in-memory topic and log storage
- Add persistent log to disk
- Add consumer offset tracking and acknowledgement
- Plan for multi-node support and replication
This project is licensed under the MIT license.