This is an automated email from the ASF dual-hosted git repository.
zhoubo pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git
The following commit(s) were added to refs/heads/new-official-website by this
push:
new 072eeab8b Polish the quick start document (#434)
072eeab8b is described below
commit 072eeab8be95c881fc617d30fee7e2751e85d955
Author: rongtong <[email protected]>
AuthorDate: Thu Jan 12 15:35:52 2023 +0800
Polish the quick start document (#434)
---
docs/01-introduction/02quickstart.md | 2 +-
versioned_docs/version-5.0/02-quickStart/02quickstart.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/01-introduction/02quickstart.md
b/docs/01-introduction/02quickstart.md
index 68aeff8b2..cf7874da6 100644
--- a/docs/01-introduction/02quickstart.md
+++ b/docs/01-introduction/02quickstart.md
@@ -24,7 +24,7 @@ RocketMQ 的安装包分为两种,二进制包和源码包。
解压下载的源码包并编译构建二进制可执行文件
```shell
-$ mvn -Prelease-all -DskipTests clean install -U
+$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.0.0/rocketmq-5.0.0
```
## 2. 启动NameServer
diff --git a/versioned_docs/version-5.0/02-quickStart/02quickstart.md
b/versioned_docs/version-5.0/02-quickStart/02quickstart.md
index 98e2e8e06..dbe2a6ffc 100644
--- a/versioned_docs/version-5.0/02-quickStart/02quickstart.md
+++ b/versioned_docs/version-5.0/02-quickStart/02quickstart.md
@@ -24,7 +24,7 @@ RocketMQ 的安装包分为两种,二进制包和源码包。 点击[这里](h
```shell
$ unzip rocketmq-all-5.0.0-source-release.zip
$ cd rocketmq-all-5.0.0-source-release/
-$ mvn -Prelease-all -DskipTests clean install -U
+$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.0.0/rocketmq-5.0.0
```
## 2. 启动NameServer
@@ -105,7 +105,7 @@ $ sh bin/tools.sh
org.apache.rocketmq.example.quickstart.Consumer
3. 通过mqadmin创建 Topic。
```shell
- $ sh bin/mqadmin updatetopic -n localhost:9876 -t TestTopic
+ $ sh bin/mqadmin updatetopic -n localhost:9876 -t TestTopic -c
DefaultCluster
```
4. 在已创建的Java工程中,创建发送普通消息程序并运行,示例代码如下: