Skip to content

Commit

Permalink
Add rocketmq dashboard 2.0.0 package and modify 5.3.0 to 5.3.1 in qui…
Browse files Browse the repository at this point in the history
…ckstart page (#696)
  • Loading branch information
RongtongJin authored Oct 12, 2024
1 parent 364c78f commit 7c16875
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 42 deletions.
2 changes: 0 additions & 2 deletions docs/01-quickstart/02quickstartWithDocker.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ $ sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
ConsumeMessageThread_%d Receive New Messages: [MessageExt...
```
## 6.SDK测试消息收发
工具测试完成后,我们可以尝试使用 SDK 收发消息,这里以 Java SDK 为例介绍一下消息收发过程。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ This section will describe steps to quickly deploy a RocketMQ cluster with a sin

:::tip Download RocketMQ

Apache RocketMQ is distributed both in binary and source packages. Click [here](https://dist.apache.org/repos/dist/release/rocketmq/5.3.0/rocketmq-all-5.3.0-source-release.zip) to download Apache RocketMQ 5.3.0 source package. You may prefer [prebuilt binary package](https://dist.apache.org/repos/dist/release/rocketmq/5.3.0/rocketmq-all-5.3.0-bin-release.zip), which can be run directly since it has been compiled.
Apache RocketMQ is distributed both in binary and source packages. Click [here](https://dist.apache.org/repos/dist/release/rocketmq/5.3.1/rocketmq-all-5.3.1-source-release.zip) to download Apache RocketMQ 5.3.1 source package. You may prefer [prebuilt binary package](https://dist.apache.org/repos/dist/release/rocketmq/5.3.1/rocketmq-all-5.3.1-bin-release.zip), which can be run directly since it has been compiled.

:::

The following instruction takes the application of RocketMQ 5.3.0 source package in Linux environment as an example in order to introduce the installation process of RocketMQ.
The following instruction takes the application of RocketMQ 5.3.1 source package in Linux environment as an example in order to introduce the installation process of RocketMQ.

Extract the source package of RocketMQ 5.3.0, then compile and build the binary executables:
Extract the source package of RocketMQ 5.3.1, then compile and build the binary executables:

```shell
$ unzip rocketmq-all-5.3.0-source-release.zip
$ cd rocketmq-all-5.3.0-source-release/
$ unzip rocketmq-all-5.3.1-source-release.zip
$ cd rocketmq-all-5.3.1-source-release/
$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.3.0/rocketmq-5.3.0
$ cd distribution/target/rocketmq-5.3.1/rocketmq-5.3.1
```
## 2. Start NameServer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This section introduces how to quickly deploy a single-node, single-replica Rock
:::

## 1.Pull RocketMQ Image
Here, we take the RocketMQ 5.3.0 version image from [dockerhub](https://hub.docker.com/r/apache/rocketmq/tags) as an example to introduce the deployment process.
Here, we take the RocketMQ 5.3.1 version image from [dockerhub](https://hub.docker.com/r/apache/rocketmq/tags) as an example to introduce the deployment process.

```shell
docker pull apache/rocketmq:5.3.0
docker pull apache/rocketmq:5.3.1
```

## 2.Create a Shared Network for Containers
Expand All @@ -27,7 +27,7 @@ docker network create rocketmq

```shell
# Start NameServer
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.0 sh mqnamesrv
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.1 sh mqnamesrv

# Verify if NameServer started successfully
docker logs -f rmqnamesrv
Expand Down Expand Up @@ -58,9 +58,9 @@ docker run -d \
-p 10912:10912 -p 10911:10911 -p 10909:10909 \
-p 8080:8080 -p 8081:8081 \
-e "NAMESRV_ADDR=rmqnamesrv:9876" \
-v ./broker.conf:/home/rocketmq/rocketmq-5.3.0/conf/broker.conf \
apache/rocketmq:5.3.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.0/conf/broker.conf
-v ./broker.conf:/home/rocketmq/rocketmq-5.3.1/conf/broker.conf \
apache/rocketmq:5.3.1 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.1/conf/broker.conf
# Verify if Broker started successfully
docker exec -it rmqbroker bash -c "tail -n 10 /home/rocketmq/logs/rocketmqlogs/proxy.log"
Expand All @@ -79,9 +79,9 @@ docker run -d ^
-p 10912:10912 -p 10911:10911 -p 10909:10909 ^
-p 8080:8080 -p 8081:8081 \
-e "NAMESRV_ADDR=rmqnamesrv:9876" ^
-v %cd%\broker.conf:/home/rocketmq/rocketmq-5.3.0/conf/broker.conf ^
apache/rocketmq:5.3.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.0/conf/broker.conf
-v %cd%\broker.conf:/home/rocketmq/rocketmq-5.3.1/conf/broker.conf ^
apache/rocketmq:5.3.1 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.1/conf/broker.conf
# Verify if Broker started successfully
docker exec -it rmqbroker bash -c "tail -n 10 /home/rocketmq/logs/rocketmqlogs/proxy.log"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ To quickly start and run the RocketMQ cluster, you can use the following templat
version: '3.8'
services:
namesrv:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqnamesrv
ports:
- 9876:9876
networks:
- rocketmq
command: sh mqnamesrv
broker:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqbroker
ports:
- 10909:10909
Expand All @@ -39,7 +39,7 @@ services:
- rocketmq
command: sh mqbroker
proxy:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqproxy
networks:
- rocketmq
Expand Down
6 changes: 3 additions & 3 deletions src/pages/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@

## RocketMQ Dashboard

| 版本 | 文档 | 发布日期 | Source 下载 | Binary 下载 | End of Support |
| --------- | ------------------------------------------------------------ | --------- | ------------------------------------------------------------ | ----------- | -------------- |
| 版本 | 文档 | 发布日期 | Source 下载 | Binary 下载 | End of Support |
|-----------|-----------------------------------------------------------------------------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------| ----------- | -------------- |
| **1.0.0** | [Release Notes](/release-notes/2021/09/23/release-notes-rocketmq-dashboard-1.0.0) | 2021.9.23 | [download.zip](https://dist.apache.org/repos/dist/release/rocketmq/rocketmq-dashboard/1.0.0/rocketmq-dashboard-1.0.0-source-release.zip) | | |
| | | | | | |
| **2.0.0** | [Release Notes](/release-notes/2024/09/18/release-notes-rocketmq-dashboard-2.0.0) | 2024.9.18 | [download.zip](https://dist.apache.org/repos/dist/release/rocketmq/rocketmq-dashboard/2.0.0/rocketmq-dashboard-2.0.0-source-release.zip) | | |

12 changes: 6 additions & 6 deletions versioned_docs/version-5.0/02-quickStart/01quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@

:::tip RocketMQ下载

RocketMQ 的安装包分为两种,二进制包和源码包。 点击[这里](https://dist.apache.org/repos/dist/release/rocketmq/5.3.0/rocketmq-all-5.3.0-source-release.zip) 下载 Apache RocketMQ 5.3.0的源码包。你也可以从[这里](https://dist.apache.org/repos/dist/release/rocketmq/5.3.0/rocketmq-all-5.3.0-bin-release.zip) 下载到二进制包。二进制包是已经编译完成后可以直接运行的,源码包是需要编译后运行的。
RocketMQ 的安装包分为两种,二进制包和源码包。 点击[这里](https://dist.apache.org/repos/dist/release/rocketmq/5.3.1/rocketmq-all-5.3.1-source-release.zip) 下载 Apache RocketMQ 5.3.1的源码包。你也可以从[这里](https://dist.apache.org/repos/dist/release/rocketmq/5.3.1/rocketmq-all-5.3.1-bin-release.zip) 下载到二进制包。二进制包是已经编译完成后可以直接运行的,源码包是需要编译后运行的。

:::

这里以在Linux环境下利用社区5.3.0的源码包为例,介绍RocketMQ安装过程。
这里以在Linux环境下利用社区5.3.1的源码包为例,介绍RocketMQ安装过程。

解压5.3.0的源码包并编译构建二进制可执行文件
解压5.3.1的源码包并编译构建二进制可执行文件

```shell
$ unzip rocketmq-all-5.3.0-source-release.zip
$ cd rocketmq-all-5.3.0-source-release/
$ unzip rocketmq-all-5.3.1-source-release.zip
$ cd rocketmq-all-5.3.1-source-release/
$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.3.0/rocketmq-5.3.0
$ cd distribution/target/rocketmq-5.3.1/rocketmq-5.3.1
```
## 2. 启动NameServer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
:::

## 1.拉取RocketMQ镜像
这里以[dockerhub](https://hub.docker.com/r/apache/rocketmq/tags)上 RocketMQ 5.3.0 版本的镜像为例,介绍部署过程。
这里以[dockerhub](https://hub.docker.com/r/apache/rocketmq/tags)上 RocketMQ 5.3.1 版本的镜像为例,介绍部署过程。

```shell
docker pull apache/rocketmq:5.3.0
docker pull apache/rocketmq:5.3.1
```

## 2.创建容器共享网络
Expand All @@ -27,7 +27,7 @@ docker network create rocketmq

```shell
# 启动 NameServer
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.0 sh mqnamesrv
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.1 sh mqnamesrv

# 验证 NameServer 是否启动成功
docker logs -f rmqnamesrv
Expand Down Expand Up @@ -58,9 +58,9 @@ docker run -d \
-p 10912:10912 -p 10911:10911 -p 10909:10909 \
-p 8080:8080 -p 8081:8081 \
-e "NAMESRV_ADDR=rmqnamesrv:9876" \
-v ./broker.conf:/home/rocketmq/rocketmq-5.3.0/conf/broker.conf \
apache/rocketmq:5.3.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.0/conf/broker.conf
-v ./broker.conf:/home/rocketmq/rocketmq-5.3.1/conf/broker.conf \
apache/rocketmq:5.3.1 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.1/conf/broker.conf
# 验证 Broker 是否启动成功
docker exec -it rmqbroker bash -c "tail -n 10 /home/rocketmq/logs/rocketmqlogs/proxy.log"
Expand All @@ -79,9 +79,9 @@ docker run -d ^
-p 10912:10912 -p 10911:10911 -p 10909:10909 ^
-p 8080:8080 -p 8081:8081 \
-e "NAMESRV_ADDR=rmqnamesrv:9876" ^
-v %cd%\broker.conf:/home/rocketmq/rocketmq-5.3.0/conf/broker.conf ^
apache/rocketmq:5.3.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.0/conf/broker.conf
-v %cd%\broker.conf:/home/rocketmq/rocketmq-5.3.1/conf/broker.conf ^
apache/rocketmq:5.3.1 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.3.1/conf/broker.conf
# 验证 Broker 是否启动成功
docker exec -it rmqbroker bash -c "tail -n 10 /home/rocketmq/logs/rocketmqlogs/proxy.log"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@

:::


## 1.编写docker-compose

为了快速启动并运行 RockerMQ 集群,您可以使用以下模板通过修改或添加环境部分中的配置来创建 docker-compose.yml 文件。
```text
version: '3.8'
services:
namesrv:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqnamesrv
ports:
- 9876:9876
networks:
- rocketmq
command: sh mqnamesrv
broker:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqbroker
ports:
- 10909:10909
Expand All @@ -39,7 +38,7 @@ services:
- rocketmq
command: sh mqbroker
proxy:
image: apache/rocketmq:5.3.0
image: apache/rocketmq:5.3.1
container_name: rmqproxy
networks:
- rocketmq
Expand Down

0 comments on commit 7c16875

Please sign in to comment.