You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/12/29 01:40:55 UTC

[GitHub] [rocketmq] mxsm commented on a diff in pull request #5771: [ISSUE #5770]Translation controller quick_start.md chinese document to english document

mxsm commented on code in PR #5771:
URL: https://github.com/apache/rocketmq/pull/5771#discussion_r1058683527


##########
docs/en/controller/quick_start.md:
##########
@@ -0,0 +1,200 @@
+# Master-Slave automatic switch Quick start 
+
+## Introduction
+
+![架构图](../image/controller/controller_design_2.png)
+
+This document mainly introduces how to quickly build a RocketMQ cluster that supports automatic master-slave switch, as shown in the above diagram. The main addition is the Controller component, which can be deployed independently or embedded in the NameServer.
+
+For detailed design ideas, please refer to [Design Ideas](https://chat.openai.com/chat/design.md).
+
+For detailed guidelines on new cluster deployment and old cluster upgrades, please refer to [Deployment Guide](https://chat.openai.com/chat/deploy.md).
+
+## Compile RocketMQ source code
+
+```shell
+$ git clone https://github.com/apache/rocketmq.git
+
+$ cd rocketmq
+
+$ mvn -Prelease-all -DskipTests clean install -U
+```
+
+## Quick deployment
+
+After successful build
+
+```shell
+#{rocketmq-version} replace with rocketmq actual version. example: 5.0.0-SNAPSHOT
+$ cd distribution/target/rocketmq-{rocketmq-version}/rocketmq-{rocketmq-version}/
+
+$ sh bin/controller/fast-try.sh start
+```
+
+If the above steps are successful, you can view the status of the Controller using the operation and maintenance command.
+
+```shell
+$ sh bin/mqadmin getControllerMetaData -a localhost:9878
+```
+
+`-a` represents the address of any controller in the cluster
+
+At this point, you can send and receive messages in the cluster and perform switch testing.
+
+If you need to shut down the quick cluster, you can execute:

Review Comment:
   @Oliverwqcwrw  I will fix it later, thanks for you  review



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org