From 7c16875ef20b889a5ffad003630391fdc84804e7 Mon Sep 17 00:00:00 2001 From: rongtong Date: Sat, 12 Oct 2024 18:03:07 +0800 Subject: [PATCH] Add rocketmq dashboard 2.0.0 package and modify 5.3.0 to 5.3.1 in quickstart page (#696) --- docs/01-quickstart/02quickstartWithDocker.md | 2 -- .../version-5.0/02-quickStart/01quickstart.md | 12 ++++++------ .../02-quickStart/02quickstartWithDocker.md | 18 +++++++++--------- .../03quickstartWithDockercompose.md | 6 +++--- src/pages/download.md | 6 +++--- .../version-5.0/02-quickStart/01quickstart.md | 12 ++++++------ .../02-quickStart/02quickstartWithDocker.md | 18 +++++++++--------- .../03quickstartWithDockercompose.md | 7 +++---- 8 files changed, 39 insertions(+), 42 deletions(-) diff --git a/docs/01-quickstart/02quickstartWithDocker.md b/docs/01-quickstart/02quickstartWithDocker.md index dd09eda8bb..d9e4ae0699 100644 --- a/docs/01-quickstart/02quickstartWithDocker.md +++ b/docs/01-quickstart/02quickstartWithDocker.md @@ -124,8 +124,6 @@ $ sh tools.sh org.apache.rocketmq.example.quickstart.Consumer ConsumeMessageThread_%d Receive New Messages: [MessageExt... ``` - - ## 6.SDK测试消息收发 工具测试完成后,我们可以尝试使用 SDK 收发消息,这里以 Java SDK 为例介绍一下消息收发过程。 diff --git a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md index 79e2a54325..4524261a80 100644 --- a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md +++ b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md @@ -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 diff --git a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md index 759fb4f1d5..52e64c8796 100644 --- a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md +++ b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md @@ -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 @@ -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 @@ -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" @@ -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" diff --git a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md index f067bcd2f3..904fedffaf 100644 --- a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md +++ b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md @@ -17,7 +17,7 @@ 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 @@ -25,7 +25,7 @@ services: - rocketmq command: sh mqnamesrv broker: - image: apache/rocketmq:5.3.0 + image: apache/rocketmq:5.3.1 container_name: rmqbroker ports: - 10909:10909 @@ -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 diff --git a/src/pages/download.md b/src/pages/download.md index b21eba8c18..ef2a6693cc 100644 --- a/src/pages/download.md +++ b/src/pages/download.md @@ -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) | | | diff --git a/versioned_docs/version-5.0/02-quickStart/01quickstart.md b/versioned_docs/version-5.0/02-quickStart/01quickstart.md index c7fecffe76..6a576900d3 100644 --- a/versioned_docs/version-5.0/02-quickStart/01quickstart.md +++ b/versioned_docs/version-5.0/02-quickStart/01quickstart.md @@ -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 diff --git a/versioned_docs/version-5.0/02-quickStart/02quickstartWithDocker.md b/versioned_docs/version-5.0/02-quickStart/02quickstartWithDocker.md index e1c8d84a71..1baff45647 100644 --- a/versioned_docs/version-5.0/02-quickStart/02quickstartWithDocker.md +++ b/versioned_docs/version-5.0/02-quickStart/02quickstartWithDocker.md @@ -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.创建容器共享网络 @@ -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 @@ -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" @@ -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" diff --git a/versioned_docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md b/versioned_docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md index 0a66943f01..5d02dd4af8 100644 --- a/versioned_docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md +++ b/versioned_docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md @@ -9,7 +9,6 @@ ::: - ## 1.编写docker-compose 为了快速启动并运行 RockerMQ 集群,您可以使用以下模板通过修改或添加环境部分中的配置来创建 docker-compose.yml 文件。 @@ -17,7 +16,7 @@ version: '3.8' services: namesrv: - image: apache/rocketmq:5.3.0 + image: apache/rocketmq:5.3.1 container_name: rmqnamesrv ports: - 9876:9876 @@ -25,7 +24,7 @@ services: - rocketmq command: sh mqnamesrv broker: - image: apache/rocketmq:5.3.0 + image: apache/rocketmq:5.3.1 container_name: rmqbroker ports: - 10909:10909 @@ -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