rocketmq-rust-local-cluster
Skill1.5k starsChanged 5 months agoApache-2.0View on GitHub
Set up, start, verify, inspect, and stop local development clusters from the current rocketmq-rust checkout. Use for single-Broker development, replicated master/slave clusters, Proxy cluster/local mode, or three-node Controller HA with automatic Broker election.
Trending
Quiet since March.thin dataabout the whole repository
Who's talking about mxsm/rocketmq-rust
- DexterWernJr/Kearney“CDL”GitHub · Aug 11, 2025 · 5 reactions
- @bearstech.com“RocketMQ-Rust : Une implémentation Rust d'Apache RocketMQ 🚧 En cours de développement 👉 Le projet : …”Bluesky · Nov 25, 2024 · 3 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ Rust implementation. Faster, safer, and with lower memory usage. ★608…”Bluesky · Nov 10, 2024 · 2 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star …”Bluesky · Jan 11, 2026 · 1 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star …”Bluesky · Dec 28, 2025 · 1 likes
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub and Bluesky (9 times).
On GitHub · 5
- Aug 11, 2025CDL — DexterWernJr/Kearney5 reactions · 5 comments
- Mar 2, 2026Rocketmq-rust — glcrazier/grocketmq0 reactions · 1 comment
- Jul 30, 2025<!-- This is an auto-generated comment: summarize by coderabbit.ai --> — DexterWernJr/Kearney0 reactions
- Jul 30, 2025<!-- Please make sure the target branch is right. In most case, the target branch should be `main`. --> Learn Teeamteœ — DexterWernJr/Kearney0 reactions
- Dec 18, 2024消息队列可以添加Rocketmq-rust — rust-boom/rust-boom0 reactions · 1 comment
On Bluesky · 4
- Nov 25, 2024RocketMQ-Rust : Une implémentation Rust d'Apache RocketMQ 🚧 En cours de développement 👉 Le projet : github.com/mxsm/rock... 👉 La… — @bearstech.com3 likes and reposts · 1 reply
- Nov 10, 2024mxsm / rocketmq-rust: 🚀Apache RocketMQ Rust implementation. Faster, safer, and with lower memory usage. ★608… — @rusttrending.bsky.social2 likes and reposts
- Jan 11, 2026mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star if you like it! ★1433… — @rusttrending.bsky.social1 likes and repost
- Dec 28, 2025mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star if you like it! ★1360… — @rusttrending.bsky.social1 likes and repost
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- fuzz/AGENTS.mdAGENTS.md
- rocketmq-example/AGENTS.mdAGENTS.md
- rocketmq-website/AGENTS.mdAGENTS.md
- rocketmq-rust-good-first-issueSkill
- rocketmq-rust-issue-generatorSkill
- rocketmq-rust-pr-submitterSkill
- rust-doc-comment-generatorSkill
- translate-it-doc-en-zhSkill
- rocketmq-rust-good-first-issueSkill
- rocketmq-rust-issue-generatorSkill
- rocketmq-rust-local-clusterSkill
- rocketmq-rust-pr-submitterSkill
- rust-doc-comment-generatorSkill
- translate-it-doc-en-zhSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Read applicable AGENTS.md instructions and git status --short.
- Distinctive: line 33
Follow operations and lifecycle: build the necessary binaries, check configuration parsing, record process ownership, start dependency …
- Distinctive: line 34
Follow verification and troubleshooting: check registration and a message round trip.
- Very specific: line 39
Run from the repository root using Python 3.11+.
- Very specific: line 54
Add --proxy-remoting only when Remoting ingress is requested.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RocketMQ Rust Local Cluster
Turn the requested topology into a running, verifiable local environment with isolated data and an explicit stop procedure. Use this checkout's manifests, configuration parsers, and entrypoints. Java RocketMQ scripts and old flat Broker configuration are not substitutes for the Rust services.
Select a topology
Preserve the user's topology, paths, ports, and execution method. Otherwise default to dev-single, native processes, loopback addresses, and a debug build; state the assumptions and continue. For an unspecified request for HA, select controller-ha and explain its larger resource needs. Select dev-ha when the user explicitly wants ordinary master/slave replication.
| Profile | Processes | Purpose and limits |
dev-single | 1 NameServer + 1 Broker | Minimum message round trip; no replica |
dev-ha | 2 NameServers + 1 master + 1 slave | Synchronous replication by default; no automatic writable-master promotion |
dev-ha-2m2s | 2 NameServers + 2 master/slave groups | Two distinct brokerName values; ordinary replication |
proxy-cluster | dev-single + a separate Proxy | gRPC ingress forwarding to the backend cluster |
proxy-local | 1 Proxy with an embedded Broker | Single-process development; no separate NameServer/Broker and no HA |
controller-ha | 2 NameServers + 3 Controllers + 3 Brokers in one group | Raft quorum, automatic Broker election, and replica synchronization |
--with-proxy adds a separate Proxy to dev-single, dev-ha, dev-ha-2m2s, or controller-ha. It adds one ingress instance; Proxy redundancy needs additional instances and an endpoint strategy when requested.
These are single-host development topologies. They do not survive loss of the host or its disks. Explain synchronous replication (SYNC_MASTER), disk flush (SYNC_FLUSH), and automatic election as separate properties.
Workflow
For status, stop, or restart requests, open the existing environment manifest and process records first. Skip configuration generation and builds unless a requested restart actually needs updated binaries. Do not create another cluster while inspecting an existing one.
- Read applicable
AGENTS.mdinstructions andgit status --short. Inspect OS, toolchain, disk capacity, and port occupancy. Keep the selected Rust toolchain. Use topology rules and source map to check only the requested components. - Generate configuration and a run manifest with the helper below. It writes files and optionally probes port availability; it does not compile, start processes, or delete data. Stop at artifacts if the user requested only a plan/configuration; continue through startup and verification when asked to set up an environment.
- Follow operations and lifecycle: build the necessary binaries, check configuration parsing, record process ownership, start dependency groups, and wait for readiness within a deadline. Initial compilation can dominate setup time; report actual progress.
- Follow verification and troubleshooting: check registration and a message round trip. For HA, inspect replication/election state. Perform disruptive failover exercises when requested, then restore the environment.
- Deliver the actual endpoints, configuration/data/log locations, verification results, and reusable start/status/stop commands. Leave the environment running when that is the requested outcome. Report the last completed stage on failure; generated configuration is not successful startup.
Configuration helper
Run from the repository root using Python 3.11+. On Linux/macOS, python3 may replace python. When using the Claude copy, replace the script prefix with .claude/skills.
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name dev --profile dev-single --check-ports
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name ha --profile dev-ha --port-offset 1000 --check-ports
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name dual --profile dev-ha-2m2s --replication async --port-offset 2000
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name proxy --profile proxy-cluster --port-offset 3000
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name local --profile proxy-local --port-offset 4000
python .agents/skills/rocketmq-rust-local-cluster/scripts/prepare_cluster.py --name controller --profile controller-ha --with-proxy --port-offset 5000 --check-ports- Output defaults to ignored
.rocketmq/clusters/<name>/. Use--repo-rootfor another checkout or--outputfor a new, dedicated environment directory. --dry-runprints the manifest without writing files.--check-portschecks whether all planned loopback ports can currently bind; it does not reserve them for startup.- Existing output directories are rejected to preserve configuration and messages. For restart/status/stop, read the existing
manifest.json. Prefer a new environment for topology changes. --replication asyncapplies only to ordinary HA profiles. Controller HA retains three replicas and a minimum of two in-sync replicas; do not lower write requirements to conceal startup or replication failures.- Add
--proxy-remotingonly when Remoting ingress is requested. The default Proxy ingress is gRPC. - Base ports: NameServer
9876/9886; Broker remoting10911 + 20*i, fast channelremoting - 2, HAremoting + 1; Controller remoting9878/9888/9898, Raft9879/9889/9899; Proxy gRPC8081, optional remoting8080; health18000 + node index.--port-offsetshifts all ports and their references together.
Execution boundaries
- A request to set up the environment authorizes necessary local configuration, builds, startup, and non-disruptive verification without repeated confirmation. It does not authorize publication, remote-cluster changes, system services, or deleting old data.
- The native generator uses
127.0.0.1anddevelopment-insecure-loopback. Inspect conflicting inherited TLS/ACL or listener environment settings; resolve them only for these new processes. Preserve security settings of existing environments. - On port conflicts, choose another offset or the user's available ports. Do not terminate the current port owner. Isolate every instance's persistence and logs instead of using a shared default home-directory
store. - Record PID, process creation time, executable path, arguments, and configuration path. Verify identity before stopping; a process name or stale PID file alone is insufficient.
- Preserve data by default. For an explicitly requested reset, first resolve absolute paths, verify they remain in this environment and do not link elsewhere, and stop its processes. Delete only that environment's intended data.
- Docker/Compose, WSL, and local Kubernetes are optional execution methods. Use the container branch when requested; native loopback configuration cannot be mounted unchanged into multiple containers. Local setup does not require release, performance, full-workspace Clippy, or integration fault-matrix gates.
Example requests
Use $rocketmq-rust-local-cluster to start a minimal development cluster and verify one message round trip.
Use $rocketmq-rust-local-cluster to create an asynchronous two-master/two-slave environment with port offset 2000, preserving my existing cluster.
Use $rocketmq-rust-local-cluster to start Controller HA with Proxy and verify message delivery after automatic failover.
Use $rocketmq-rust-local-cluster to inspect the dev environment, then stop it while preserving messages.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

