This is an automated email from the ASF dual-hosted git repository.
ShannonDing pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 3a94083574 [ISSUE #11563] Document protocol submodule setup in quick
starts (#11564)
3a94083574 is described below
commit 3a94083574a564421e98730371e526de492d22ec
Author: xugaopeng0 <[email protected]>
AuthorDate: Mon Nov 23 11:55:37 2026 +0800
[ISSUE #11563] Document protocol submodule setup in quick starts (#11564)
---
docs/cn/controller/quick_start.md | 5 ++++-
docs/cn/dledger/quick_start.md | 6 ++++--
docs/en/controller/quick_start.md | 5 ++++-
docs/en/dledger/quick_start.md | 6 ++++--
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/docs/cn/controller/quick_start.md
b/docs/cn/controller/quick_start.md
index 5cc7d6d81f..b1770d9151 100644
--- a/docs/cn/controller/quick_start.md
+++ b/docs/cn/controller/quick_start.md
@@ -12,8 +12,11 @@
## 编译 RocketMQ 源码
+构建时需要从 `rocketmq-apis` 子模块生成协议类。如果已经克隆了仓库,请先在仓库根目录执行
+`git submodule update --init --recursive`,再运行 Maven。
+
```shell
-$ git clone https://github.com/apache/rocketmq.git
+$ git clone --recurse-submodules https://github.com/apache/rocketmq.git
$ cd rocketmq
diff --git a/docs/cn/dledger/quick_start.md b/docs/cn/dledger/quick_start.md
index 8311395d99..7c378e43ea 100644
--- a/docs/cn/dledger/quick_start.md
+++ b/docs/cn/dledger/quick_start.md
@@ -19,10 +19,12 @@ $ mvn clean install -DskipTests
#### 1.2 构建 RocketMQ
+构建时需要从 `rocketmq-apis` 子模块生成协议类。如果已经克隆了仓库,请先在仓库根目录执行
+`git submodule update --init --recursive`,再运行 Maven。
+
```shell
-$ git clone https://github.com/apache/rocketmq.git
+$ git clone --recurse-submodules https://github.com/apache/rocketmq.git
$ cd rocketmq
-$ git checkout -b store_with_dledger origin/store_with_dledger
$ mvn -Prelease-all -DskipTests clean install -U
```
diff --git a/docs/en/controller/quick_start.md
b/docs/en/controller/quick_start.md
index e7997213b0..388ae8e82a 100644
--- a/docs/en/controller/quick_start.md
+++ b/docs/en/controller/quick_start.md
@@ -12,8 +12,11 @@ For detailed guidelines on new cluster deployment and old
cluster upgrades, plea
## Compile RocketMQ source code
+The build generates protocol classes from the `rocketmq-apis` submodule. If
you already cloned the repository, run
+`git submodule update --init --recursive` from its root before running Maven.
+
```shell
-$ git clone https://github.com/apache/rocketmq.git
+$ git clone --recurse-submodules https://github.com/apache/rocketmq.git
$ cd rocketmq
diff --git a/docs/en/dledger/quick_start.md b/docs/en/dledger/quick_start.md
index dfc7894af5..4ed16d5c8f 100644
--- a/docs/en/dledger/quick_start.md
+++ b/docs/en/dledger/quick_start.md
@@ -18,10 +18,12 @@ $ mvn clean install -DskipTests
#### 1.2 Build RocketMQ
+The build generates protocol classes from the `rocketmq-apis` submodule. If
you already cloned the repository, run
+`git submodule update --init --recursive` from its root before running Maven.
+
```shell
-$ git clone https://github.com/apache/rocketmq.git
+$ git clone --recurse-submodules https://github.com/apache/rocketmq.git
$ cd rocketmq
-$ git checkout -b store_with_dledger origin/store_with_dledger
$ mvn -Prelease-all -DskipTests clean install -U
```