This is an automated email from the ASF dual-hosted git repository.
chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh-site.git
The following commit(s) were added to refs/heads/master by this push:
new d6c748a6 Fix cd rocketmq dir incorrect
new 2bba8d42 Merge pull request #61 from mxsm/eventmesh-rocketmq-fix
d6c748a6 is described below
commit d6c748a660a4ec7328b6006db4d31f0abc1287d8
Author: mxsm <[email protected]>
AuthorDate: Sat Feb 4 08:43:45 2023 +0800
Fix cd rocketmq dir incorrect
---
docs/instruction/01-store-with-docker.md | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/docs/instruction/01-store-with-docker.md
b/docs/instruction/01-store-with-docker.md
index 7c03f1c6..2f8e98d1 100644
--- a/docs/instruction/01-store-with-docker.md
+++ b/docs/instruction/01-store-with-docker.md
@@ -10,13 +10,14 @@ Gradle 7.0+, we recommend 7.0.*
If you choose standalone mode, you could skip this file and go to the next
step: Start Eventmesh-Runtime; if not, you could choose RocketMQ as the store
layer.
```
+
## Download
-Download the Binary code (recommended: 4.9.*) from [RocketMQ
Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.2
as an example.
+Download the Binary code (recommended: 4.9.*) from [RocketMQ
Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.4
as an example.
```
-unzip rocketmq-all-4.9.2-bin-release.zip
-cd rocketmq-4.9.2/
+unzip rocketmq-all-4.9.4-bin-release.zip
+cd rocketmq-4.9.4/
```
## Deploy
@@ -42,26 +43,26 @@ The deployment of eventmesh-store has finished, please go
to the next step: [Sta
Pull RocketMQ image from Docker Hub:
```shell
-#获取namesrv镜像
-sudo docker pull rocketmqinc/rocketmq-namesrv:4.5.0-alpine
-#获取broker镜像
-sudo docker pull rocketmqinc/rocketmq-broker:4.5.0-alpine
+#Get RocketMQ image
+sudo docker pull apache/rocketmq:4.9.4
```
Start namesrv and broker
```shell
-#运行namerv容器
-sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v
`pwd`/data/namesrv/store:/root/store --name rmqnamesrv
rocketmqinc/rocketmq-namesrv:4.5.0-alpine sh mqnamesrv
+#Run namerv container
+sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v
`pwd`/data/namesrv/store:/root/store --name rmqnamesrv apache/rocketmq:4.9.4
sh mqnamesrv
-#运行broker容器
-sudo docker run -d -p 10911:10911 -p 10909:10909 -v
`pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name
rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876"
rocketmqinc/rocketmq-broker:4.5.0-alpine sh mqbroker -c ../conf/broker.conf
+#Run broker container
+sudo docker run -d -p 10911:10911 -p 10909:10909 -v
`pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name
rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876"
apache/rocketmq:4.9.4 sh mqbroker -c ../conf/broker.conf
```
Please note that the **rocketmq-broker ip** is **pod ip**. If you want to
modify this ip, you can set it your custom value in **broker.conf**。
+
By now, the deployment of eventmesh-store has finished, please go to the next
step: [Start Eventmesh-Runtime Using Docker](02-runtime-with-docker.md)
+
## Reference
For more details about RocketMQ,please refer to
<https://rocketmq.apache.org/docs/quick-start/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]