Skip to content

Commit

Permalink
Add rocketmq spring 2.3.1 release notes to download page (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
RongtongJin authored Jul 25, 2024
1 parent 49c8a44 commit 7ba9cbf
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 37 deletions.
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.2.0/rocketmq-all-5.2.0-source-release.zip) to download Apache RocketMQ 5.2.0 source package. You may prefer [prebuilt binary package](https://dist.apache.org/repos/dist/release/rocketmq/5.2.0/rocketmq-all-5.2.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.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.

:::

The following instruction takes the application of RocketMQ 5.2.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.0 source package in Linux environment as an example in order to introduce the installation process of RocketMQ.

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

```shell
$ unzip rocketmq-all-5.2.0-source-release.zip
$ cd rocketmq-all-5.2.0-source-release/
$ unzip rocketmq-all-5.3.0-source-release.zip
$ cd rocketmq-all-5.3.0-source-release/
$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.2.0/rocketmq-5.2.0
$ cd distribution/target/rocketmq-5.3.0/rocketmq-5.3.0
```
## 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.2.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.0 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.2.0
docker pull apache/rocketmq:5.3.0
```

## 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.2.0 sh mqnamesrv
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.0 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.2.0/conf/broker.conf \
apache/rocketmq:5.2.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.2.0/conf/broker.conf
-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
# 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.2.0/conf/broker.conf ^
apache/rocketmq:5.2.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.2.0/conf/broker.conf
-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
# 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.2.0
image: apache/rocketmq:5.3.0
container_name: rmqnamesrv
ports:
- 9876:9876
networks:
- rocketmq
command: sh mqnamesrv
broker:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.3.0
container_name: rmqbroker
ports:
- 10909:10909
Expand All @@ -39,7 +39,7 @@ services:
- rocketmq
command: sh mqbroker
proxy:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.3.0
container_name: rmqproxy
networks:
- rocketmq
Expand Down
3 changes: 2 additions & 1 deletion src/pages/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@

| 版本 | 文档 | 发布日期 | Source 下载 | Binary 下载 | End of Support |
|-----------|--------------------------------------------------------------------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------| ----------- | -------------- |
| **2.3.0** | [Release Notes](/release-notes/2024/02/19/release-notes-rocketmq-spring-2.3.0) | 2024.3.1 | [download.zip](https://www.apache.org/dyn/closer.cgi?path=rocketmq/rocketmq-spring/2.3.0/rocketmq-spring-rocketmq-spring-all-2.3.0.zip) | | |
| **2.3.1** | [Release Notes](/release-notes/2024/07/19/release-notes-rocketmq-spring-2.3.1) | 2024.7.25 | [download.zip](https://www.apache.org/dyn/closer.cgi?path=rocketmq/rocketmq-spring/2.3.1/rocketmq-spring-rocketmq-spring-all-2.3.1.zip) | | |
| **2.3.0** | [Release Notes](/release-notes/2024/02/19/release-notes-rocketmq-spring-2.3.0) | 2024.3.1 | [download.zip](https://archive.apache.org/dist/rocketmq/rocketmq-spring/2.3.0/rocketmq-spring-rocketmq-spring-all-2.3.0.zip) | | |
| **2.2.3** | [Release Notes](/release-notes/2023/02/06/release-notes-rocketmq-spring-2.2.3) | 2023.2.6 | [download.zip](https://archive.apache.org/dist/rocketmq/rocketmq-spring/2.2.3/rocketmq-spring-rocketmq-spring-all-2.2.3.zip) | | |
| **2.2.2** | [Release Notes](/release-notes/2022/04/05/release-notes-rocketmq-spring-2.2.2) | 2022.4.5 | [download.zip](https://archive.apache.org/dist/rocketmq/rocketmq-spring/2.2.2/rocketmq-spring-rocketmq-spring-all-2.2.2.zip) | | |
| **2.2.1** | [Release Notes](/release-notes/2021/08/31/release-notes-rocketmq-spring-2.2.1) | 2021.8.31 | [download.zip](https://archive.apache.org/dist/rocketmq/rocketmq-spring/2.2.1/rocketmq-spring-rocketmq-spring-all-2.2.1.zip) | | |
Expand Down
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.2.0/rocketmq-all-5.2.0-source-release.zip) 下载 Apache RocketMQ 5.2.0的源码包。你也可以从[这里](https://dist.apache.org/repos/dist/release/rocketmq/5.2.0/rocketmq-all-5.2.0-bin-release.zip) 下载到二进制包。二进制包是已经编译完成后可以直接运行的,源码包是需要编译后运行的。
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) 下载到二进制包。二进制包是已经编译完成后可以直接运行的,源码包是需要编译后运行的。

:::

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

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

```shell
$ unzip rocketmq-all-5.2.0-source-release.zip
$ cd rocketmq-all-5.2.0-source-release/
$ unzip rocketmq-all-5.3.0-source-release.zip
$ cd rocketmq-all-5.3.0-source-release/
$ mvn -Prelease-all -DskipTests -Dspotbugs.skip=true clean install -U
$ cd distribution/target/rocketmq-5.2.0/rocketmq-5.2.0
$ cd distribution/target/rocketmq-5.3.0/rocketmq-5.3.0
```
## 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.2.0 版本的镜像为例,介绍部署过程。
这里以[dockerhub](https://hub.docker.com/r/apache/rocketmq/tags)上 RocketMQ 5.3.0 版本的镜像为例,介绍部署过程。

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

## 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.2.0 sh mqnamesrv
docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq apache/rocketmq:5.3.0 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.2.0/conf/broker.conf \
apache/rocketmq:5.2.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.2.0/conf/broker.conf
-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
# 验证 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.2.0/conf/broker.conf ^
apache/rocketmq:5.2.0 sh mqbroker --enable-proxy \
-c /home/rocketmq/rocketmq-5.2.0/conf/broker.conf
-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
# 验证 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 @@ -17,15 +17,15 @@
version: '3.8'
services:
namesrv:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.3.0
container_name: rmqnamesrv
ports:
- 9876:9876
networks:
- rocketmq
command: sh mqnamesrv
broker:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.3.0
container_name: rmqbroker
ports:
- 10909:10909
Expand All @@ -39,7 +39,7 @@ services:
- rocketmq
command: sh mqbroker
proxy:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.3.0
container_name: rmqproxy
networks:
- rocketmq
Expand Down

0 comments on commit 7ba9cbf

Please sign in to comment.