Open source · Apache-2.0

Next-Gen RocketMQFastest Transactional Messaging

RocketMQ-compatible. Rebuilt from scratch. 5× the throughput.Clean at the core. Built to evolve.

write path
commitlog
producer
shard 0
shard 1
shard 2
ack

Schematic of the sharded write path, not a benchmark capture.

Projects in numbers

1,800+ days of RocketMQ study 600+ days of from-scratch rewrite.

< 50K

lines of core code

RocketMQ is the simplest message queue

> 100K

lines of refactor

RocketMQ-wolf, 4 years of production env practice.

> 5K

lines of comments

Rocketmq-comment, For study, Also for our books.

> 5

times Throughput gain

Clean-RocketMQ, rewritten from scratch, 120K+ lines.

> 5

RocketMQ books

Systematic accumulation: cycle of theory and practice

Three commands to a local build

Clone, build with Maven, then read the module that matters to you. No hosted service, no account.

  1. 1

    Clone

    Get the repository with its full commit history.

  2. 2

    Build

    A single Maven build produces the modules: broker, store, registry, rpc, common.

  3. 3

    Read the module you need

    Start from the docs index and open the module behind it.

Full getting-started doc
shell
git clone https://github.com/wolforest/clean-rocketmq.git
cd clean-rocketmq
mvn -DskipTests package
broker · store · registry · rpc

Module boundaries double as the reading path: start with how broker accepts a message, then follow it into store.

Progress and roadmap

What works today, what is partly there, and what is still open.

  • Available

    Core messaging (pub/sub, ordered, delay, transactions, registry, RPC)

    Available and used as the base for everything below.

  • Available

    CommitLog sharding

    Sharded write path is in place; the reported throughput gain comes from it.

  • Partially done

    Master-slave and storage-compute separation

    Replication works; separation is partly complete and still moving.

  • In progress

    Richer scheduling and transaction features

    More scheduling types and stronger transactional guarantees are being added.

  • Planned

    Raft and cloud native

    Planned. No production-ready implementation today.