← Back to Leaderboard
Rmxsm

mxsm/rocketmq-rust

Tokio-based RocketMQ for self-hosted messaging with separate MCP operations

MCP Server & SkillQuickstart ↓
Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v1.1.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 1,558
24h Growth
+0
7d Growth
+6
Forks
325

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

mxsm/rocketmq-rust Star History (2023-12-25 - 2026-12-03) ALL-TIME STAR HISTORY (2023-12 – 2026-12) +1.6k in 1074d · avg +1/day 1.6k 823 0 2023-12-25: ★ 12024-03-02: ★ 1092024-05-11: ★ 1912024-07-20: ★ 3472024-09-28: ★ 4482024-12-07: ★ 6422025-02-15: ★ 8172025-04-26: ★ 9762025-07-05: ★ 1,1002025-09-13: ★ 1,1812025-11-22: ★ 1,2362026-01-31: ★ 1,3772026-04-11: ★ 1,4192026-06-20: ★ 1,4532026-08-29: ★ 1,4872026-12-03: ★ 1,558 ★ 1.6k 2023-12 2025-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

RocketMQ-Rust is a messaging system first and an MCP integration second. In the minimal topology, the Broker registers with NameServer; clients use NameServer to resolve topic routes and talk to the Broker for message operations. The Broker owns request handling, delivery, and storage. An optional OpenRaft-based Controller handles master election and replica coordination. The Proxy exposes gRPC MessagingService and optional remoting ingress, either through a cluster adapter that uses the client SDK or with an embedded Broker.

The Rust crates separate wire contracts (rocketmq-protocol), bounded TCP/TLS transport (rocketmq-transport), and task lifecycle management (rocketmq-runtime) on Tokio. The client takes an application-owned runtime rather than creating a hidden one, so the caller controls startup and shutdown. Operations stay off the message path: rocketmq-admin-core serves the CLI, TUI, dashboards, and MCP integrations, with separate MCP servers for read-only diagnostics and supervised changes.

Key Capabilities & Differentiators

The SDK supports producers, including transactional producers, plus push, lite pull, and POP consumption. The repository includes examples for ordered and delayed messages and request/reply, alongside tag and SQL92 filtering support. Local storage uses CommitLog, ConsumeQueue, and index files. The optional RocksDB component is described for derived state such as queues, indexes, timers, and transactions; it should not be treated as a like-for-like replacement for the primary CommitLog. Optional tiered storage moves older messages to a secondary layer and retrieves them when needed.

The operations stack includes a Java mqadmin-compatible CLI command surface, a TUI, web and desktop dashboards, and an offline tool for CommitLog inspection and downgrade preflight. Authentication and ACL authorization, TLS, and OpenTelemetry instrumentation with OTLP and Prometheus exporter options address distinct production needs. For agent integration, the concrete boundary is read-only diagnostics versus separately controlled changes. MCP transport, tool schemas, and model-provider support are not established, so they should not be assumed in an integration plan.

Trade-offs & Limitations

The direct comparison is Apache RocketMQ’s Java implementation, with 5.5.0 as the compatibility baseline. Remoting support, gRPC ingress, and conversion of Java Broker .properties files provide useful migration paths but do not establish full feature parity, mixed-version failover behavior, or drop-in compatibility with existing data directories. Before migrating, test the actual clients, message modes, ACLs, and failover and recovery procedures your deployment relies on. Teams requiring official Apache releases should keep the Java distribution as their default.

The native Rust stack avoids JVM garbage collection and gives applications explicit control over runtime and shutdown, but that also makes lifecycle management an integration responsibility. Neither the language nor the bounded queues establish a throughput or latency advantage for a particular workload. Benchmark end-to-end under representative load and recovery conditions. The modular design lets a small installation omit Proxy, Controller, and MCP; adding those services introduces additional network and policy boundaries. Keeping the write-capable MCP service separate makes least-privilege rollout easier, but its access and approval controls still need validation.

Hardware & Deployment Guide

Start with a self-hosted NameServer and Broker, using published Docker Hub or GHCR images or a source build. Helm charts and Kubernetes manifests are also available. The v1.1.0 source build needs Rust 1.95.0 or newer and a native C/C++ toolchain. The local walkthrough uses --rocketmqHome or ROCKETMQ_HOME for NameServer and -c .rocketmq/broker.toml for Broker. It needs free TCP ports 9876, 10909, 10911, and 10912 and about 1.5 GB for preallocated store files. These are local setup requirements, not production sizing guidance.

Keep the unauthenticated, non-TLS quick start on loopback; the Broker binds to all interfaces without a config file. Before opening network access, explicitly configure listener and advertised addresses, persistent storage, ACLs, and TLS. Add the Proxy for gRPC or the Controller for controller-mode HA when needed, and deploy the standalone AI operations projects separately from the root Cargo workspace. Version 1.0.0 established the stable core service and tooling release; v1.1.0 introduced source-breaking API changes. Since ^1.0 can resolve to 1.1.0, control dependency resolution and rebuild downstream applications with their production feature sets before rollout.

Routing and failover: NameServer handles Broker registration and topic routes; the optional OpenRaft Controller coordinates master election and replica metadata.
Protocol boundaries: Native RocketMQ remoting and a gRPC MessagingService via Proxy, in cluster mode or with an embedded Broker.
Runtime ownership: Rust applications supply the Tokio-based runtime and shut down the producer, shared client runtime, and owner in order.
Storage roles: Local CommitLog and ConsumeQueue by default, optional RocksDB for derived state, and optional tiered storage for older messages.
MCP separation: Read-only diagnostics and supervised changes use separate servers outside the message path.
Production controls: Bounded transport, ACL authorization, TLS, and OpenTelemetry instrumentation with OTLP and Prometheus exporter options.
Best For

Rust teams evaluating self-hosted RocketMQ-compatible messaging, or platform teams piloting MCP-assisted diagnostics without putting agents in the message path.

Skip If

You need an official Apache distribution, a drop-in migration without compatibility testing, or a standalone agent platform with established model-provider and MCP tool coverage.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
cargo run -p rocketmq-namesrv --bin rocketmq-namesrv-rust -- --rocketmqHome .rocketmq --bindAddress 127.0.0.1

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
rocketmq-rust ★1.6k+6RustApache-2.0Tokio-based RocketMQ for self-hosted messaging with separate MCP operations
obscura38.8k+1kRustApache-2.0Rust/V8 headless browser for agent automation and capture without Chromium
WrenAI18.5k+66Python—An MCP-ready semantic engine that gives AI agents governed SQL and dashboard wor
activepieces25.9k+104TypeScript—Self-hosted TypeScript automation with visual workflows and reusable MCP tools

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/mxsm/rocketmq-rust.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

mxsm/rocketmq-rust Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about rocketmq-rust

Where does MCP fit in an existing RocketMQ deployment?

Keep MCP on the operations side, not in the producer or consumer path. The CLI, dashboards, and MCP share administration services through rocketmq-admin-core. Start with the read-only diagnostic server; deploy the separate server for supervised changes only if needed. Verify MCP transport, tool coverage, authentication, and approval behavior before granting write access.

Do I need a GPU, and how should I size a deployment?

The core messaging services and Rust client do not require a GPU or VRAM. The local quick start calls for about 1.5 GB of disk for preallocated Broker store files; that is not a production sizing estimate. Size CPU and memory against connection counts and message load, and size disk capacity and I/O against ingress, retention, and replication. The infrastructure requirements of the separate AI SRE platform are not established here.

Can a company self-host, modify, and redistribute RocketMQ-Rust?

Yes. Apache-2.0 permits commercial use, modification, and self-hosting. If you redistribute the software or derivatives, include the license, retain applicable notices, and mark modified files as required. RocketMQ-Rust is an independent distribution, not an official Apache Software Foundation release.

When should I choose it over Apache RocketMQ’s Java implementation?

Evaluate RocketMQ-Rust if a native Rust SDK, explicit runtime ownership, or a separate MCP operations interface matters to your team. The Java implementation is the safer default if you require official Apache releases or cannot run migration tests. RocketMQ 5.5.0 is the comparison baseline; remoting, gRPC, and Broker configuration conversion do not by themselves establish full feature parity or on-disk compatibility.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining mxsm/rocketmq-rust? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature mxsm/rocketmq-rust on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare