Apache RocketMQ is a distributed messaging and streaming platform with low latency, high performance, high reliability, trillion-level capacity, and flexible scalability. KubeBlocks provides production-ready RocketMQ cluster management on Kubernetes.
A RocketMQ cluster managed by KubeBlocks consists of four components:
| Component | Role | Description |
|---|---|---|
NameServer (namesrv) | Routing | Lightweight service discovery and routing. Producers and consumers connect here to find brokers. |
Broker (broker) | Messaging | Stores and delivers messages. Deployed as shards, each shard has a master and optional slaves. |
Dashboard (dashboard) | Management UI | Web console for cluster administration, topic management, and consumer group monitoring. |
Exporter (exporter) | Observability | Prometheus metrics exporter for broker statistics (topics, queues, consumer lag). |
Producers → NameServer (routing) → Broker Shard 0 (master + slaves)
Consumers ↗ → Broker Shard 1 (master + slaves)
...
Brokers in KubeBlocks use a sharding model. Each shard is an independent broker group with one master and zero or more slaves:
Shards handle different partitions of topics, allowing horizontal capacity scaling.
| RocketMQ Version | KubeBlocks Addon Version |
|---|---|
| 4.9.6 | 1.0.2 |