Introduction โข Features โข Architecture โข Quick Start โข Protocols โข Documentation โข Contributing โข Community
โ ๏ธ Development Status
This project is currently in its early preview stage and is undergoing rapid iteration and testing. A stable release is expected in the second half of 2025. We are actively working towards making RobustMQ production-ready and aim to become a top-level Apache project in the message queue ecosystem.
RobustMQ is a next-generation, high-performance, multi-protocol message queue built in Rust. Our vision is to create a unified messaging infrastructure tailored for modern cloud-native and AI systems.
- ๐ High Performance: Built with Rust, ensuring memory safety, zero-cost abstractions, and blazing-fast performance
- ๐๏ธ Distributed Architecture: Separation of compute, storage, and scheduling for optimal scalability and resource utilization
- ๐ Multi-Protocol Support: Native support for MQTT (3.x/4.x/5.x), AMQP, Kafka, and RocketMQ protocols
- ๐พ Pluggable Storage: Modular storage layer supporting local files, S3, HDFS, and other storage backends
- โ๏ธ Cloud-Native: Kubernetes-ready with auto-scaling, service discovery, and observability built-in
- ๐ข Multi-Tenancy: Support for virtual clusters within a single physical deployment
- ๐ Security First: Built-in authentication, authorization, and encryption support
- ๐ Observability: Comprehensive metrics, tracing, and logging with Prometheus and OpenTelemetry integration
- ๐ฏ User-Friendly: Simple deployment, intuitive management console, and extensive documentation
- Broker Server: High-performance message handling with multi-protocol support
- Meta Service: Metadata management and cluster coordination using Raft consensus
- Journal Server: Persistent storage layer with pluggable backends
- Web Console: Management interface for monitoring and administration
- One Binary, One Process: Simplified deployment and operations
- Protocol Isolation: Different protocols use dedicated ports (MQTT: 1883/1884/8083/8084, Kafka: 9092, gRPC: 1228)
- Fault Tolerance: Built-in replication and automatic failover
- Horizontal Scaling: Add capacity by simply adding more nodes
- Rust: 1.70 or later
- Operating System: Linux, macOS, or Windows
- Memory: Minimum 2GB RAM
- Storage: At least 1GB available disk space
# Clone the repository
git clone https://github.com/robustmq/robustmq.git
cd robustmq
# Build and run
cargo run --package cmd --bin broker-server
# Download and extract
make build
# Run the server
cd build/robustmq-0.1.25
bin/robust-server start
docker run -p 1883:1883 -p 9092:9092 robustmq/robustmq:latest
Once RobustMQ is running, you should see output similar to:
You can verify the installation by connecting with any MQTT client to localhost:1883
or using the web console.
- Versions: 3.1, 3.1.1, 5.0
- Features: QoS levels, retained messages, last will, shared subscriptions
- Ports: 1883 (TCP), 1884 (SSL), 8083 (WebSocket), 8084 (WSS)
- Compatibility: Kafka 2.8+ wire protocol
- Features: Topics, partitions, consumer groups, transactions
- Port: 9092
- Version: 1.0
- Features: Exchanges, queues, routing, transactions
- Port: 5672
- ๐ Official Documentation - Comprehensive guides and API references
- ๐ Quick Start Guide - Get up and running in minutes
- ๐ง MQTT Documentation - MQTT-specific features and configuration
- ๐ป Command Reference - CLI commands and usage
- ๐๏ธ Web Console - Management interface
We welcome contributions from the community! RobustMQ is an open-source project, and we're excited to collaborate with developers interested in Rust, distributed systems, and message queues.
- ๐ Read our Contribution Guide
- ๐ Check Good First Issues
- ๐ด Fork the repository
- ๐ฟ Create a feature branch
- โ Make your changes with tests
- ๐ค Submit a pull request
# Clone and setup
git clone https://github.com/robustmq/robustmq.git
cd robustmq
# Run tests
cargo test
# Check code style
cargo clippy
cargo fmt
Join our growing community of developers, users, and contributors:
- ๐ฎ Discord Server - Real-time chat, questions, and collaboration
- ๐ GitHub Issues - Bug reports and feature requests
- ๐ก GitHub Discussions - General discussions and ideas
-
ๅพฎไฟก็พค: Join our WeChat group for Chinese-speaking users
-
ไธชไบบๅพฎไฟก: If the group QR code has expired, add the developer's personal WeChat:
RobustMQ is licensed under the Apache License 2.0, which strikes a balance between open collaboration and allowing you to use the software in your projects, whether open source or proprietary.