[GH] (rocketmq): Workflow run "Build and Run Tests by Bazel" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git has 
failed.
Run started by GitHub user Mrhorse99 (triggered by RongtongJin).

Head commit for run:
044ac92043e9398cdcead2ca862b3f6e5271d731 / Mrhorse99 
<82942806+mrhors...@users.noreply.github.com>
Merge branch 'apache:develop' into develop

Report URL: https://github.com/apache/rocketmq/actions/runs/9334583077

With regards,
GitHub Actions via GitBox



[GH] (rocketmq): Workflow run "E2E test for pull request" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "E2E test for pull request" on rocketmq.git has failed.
Run started by GitHub user Mrhorse99 (triggered by Mrhorse99).

Head commit for run:
144b22ba7d557619275a7b4a343c7350836b0b2c / mxsm 
[ISSUE #8235]Add @Override annotation for handleDiskFlush method (#8236)

Report URL: https://github.com/apache/rocketmq/actions/runs/9337883746

With regards,
GitHub Actions via GitBox



[GH] (rocketmq): Workflow run "Build and Run Tests by Maven" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Maven" on rocketmq.git has 
failed.
Run started by GitHub user Mrhorse99 (triggered by RongtongJin).

Head commit for run:
044ac92043e9398cdcead2ca862b3f6e5271d731 / Mrhorse99 
<82942806+mrhors...@users.noreply.github.com>
Merge branch 'apache:develop' into develop

Report URL: https://github.com/apache/rocketmq/actions/runs/9334583081

With regards,
GitHub Actions via GitBox



Re: [PR] Add English version for Docker Deployment 5.x [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #658:
URL: https://github.com/apache/rocketmq-site/pull/658


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Add English version for Docker Deployment 5.x (#658)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 6d478d42fa Add English version for Docker Deployment 5.x (#658)
6d478d42fa is described below

commit 6d478d42fa74294b62c124fefd79f017ba520daa
Author: CindyXC <72009468+cindy0...@users.noreply.github.com>
AuthorDate: Sun Jun 2 20:25:29 2024 +0800

Add English version for Docker Deployment 5.x (#658)

Co-authored-by: XCii1 <13015886...@139.com>
---
 .../02-quickStart/02quickstartwithDocker.md| 245 +
 1 file changed, 245 insertions(+)

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
new file mode 100644
index 00..40b7fca624
--- /dev/null
+++ 
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartwithDocker.md
@@ -0,0 +1,245 @@
+# Docker Deployment of RocketMQ
+
+This section introduces how to quickly deploy a single-node, single-replica 
RocketMQ service using Docker and complete simple message sending and receiving.
+
+:::tip System Requirements
+
+1. 64-bit operating system
+2. 64-bit JDK 1.8+
+
+:::
+
+## 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.
+
+```shell
+docker pull apache/rocketmq:5.2.0
+```
+
+## 2.Create a Shared Network for Containers
+RocketMQ involves multiple services and requires multiple containers. Creating 
a Docker network facilitates communication between containers.
+
+```shell
+docker network create rocketmq
+```
+
+## 3.Start NameServer
+
+```shell
+# Start NameServer
+docker run -d --name rmqnamesrv -p 9876:9876 --network rocketmq 
apache/rocketmq:5.2.0 sh mqnamesrv
+
+# Verify if NameServer started successfully
+docker logs -f rmqnamesrv
+```
+:::info
+
+Once we see **'The Name Server boot success..'** from namesrv.log, it means 
the NameServer has been started successfully.
+
+:::
+
+## 4.Start Broker and Proxy
+After nameserver startup, we proceed to start the Broker and Proxy.
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+
+
+
+```code
+# Configure the broker's IP address
+echo "brokerIP1=127.0.0.1" > broker.conf
+
+# Start the Broker and Proxy
+docker run -d \
+--name rmqbroker \
+--network rocketmq \
+-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
+
+# Verify if Broker started successfully
+docker exec -it rmqbroker bash -c "tail -n 10 
/home/rocketmq/logs/rocketmqlogs/proxy.log"
+```
+
+
+
+```code
+# Configure the broker's IP address
+echo "brokerIP1=127.0.0.1" > broker.conf
+
+# Start the Broker and Proxy
+docker run -d ^
+--name rmqbroker ^
+--net rocketmq ^
+-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
+
+# Verify if Broker started successfully
+docker exec -it rmqbroker bash -c "tail -n 10 
/home/rocketmq/logs/rocketmqlogs/proxy.log"
+```
+
+
+
+
+
+
+:::info
+
+Once we see **'The broker[brokerName,ip:port] boot success..'** from 
proxy.log, it means the Broker has been started successfully.
+
+:::
+
+:::note
+
+Thus far, a single-Master RocketMQ cluster has been deployed, and we are able 
to send and receive simple messages.
+
+:::
+
+## 5.Send and Receive Messages with SDK
+
+We can also try to use the client sdk to send and receive messages, you can 
see more details from rocketmq-clients.
+
+1. Create a java project.
+
+2. Add sdk dependency to *pom.xml*, remember to replace the 
`rocketmq-client-java-version` with the latest
 release.
+
+   ```xml
+   
+   org.apache.rocketmq
+   rocketmq-client-java
+   ${rocketmq-client-java-version}
+
+   ```
+
+3. Enter the broker container and create a Topic using mqadmin.
+
+   ```shell
+   $ docker exec -it rmqbroker bash
+   $ sh mqadmin updatetopic -t TestTopic -c DefaultCluster
+   ```
+
+4. In the created Java project, create and run a program to send a normal 
message. The sample code is as follows:
+
+   ```java
+   import org.apache.rocketmq.client.apis.ClientConfiguration;
+   import org.apache.rocketmq.client.apis.ClientConfigurationBuilder;
+   import org.apache.rocketmq.client.apis.ClientException;
+   import org.apache.rocketmq.client.apis.ClientServic

Re: [PR] Added the quickstart directory and fixed the rendering issue. [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #659:
URL: https://github.com/apache/rocketmq-site/pull/659


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] [ISSUE #635] 修复文档描述不通顺问题 [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #660:
URL: https://github.com/apache/rocketmq-site/pull/660


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Add the email subscription steps to the 5.X version document. [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #661:
URL: https://github.com/apache/rocketmq-site/pull/661


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Added the quickstart directory and fixed the rendering issue. (#659)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new c75181b8d2 Added the quickstart directory and fixed the rendering 
issue. (#659)
c75181b8d2 is described below

commit c75181b8d2fbf6b1cf43e70c5d551de0029d44b1
Author: Kaxiya <125204531+kaxiya1...@users.noreply.github.com>
AuthorDate: Sun Jun 2 20:25:53 2024 +0800

Added the quickstart directory and fixed the rendering issue. (#659)
---
 .../01whychoose.md |   0
 .../03whatis.md => 00-introduction/02whatis.md}|   0
 .../_category_.json|   0
 .../01quickstart.md}   |   0
 .../02quickstartWithDocker.md} | 454 ++---
 .../03quickstartWithDockercompose.md}  |   0
 .../01whychoose.md |   0
 .../03whatis.md => 00-introduction/02whatis.md}|   0
 .../01quickstart.md}   |   0
 .../02quickstartWithDocker.md} | 436 ++--
 .../03quickstartWithDockercompose.md}  |   0
 .../02-quickStart/03quickstartWithDockercompose.md |   8 +-
 .../02-quickStart/03quickstartWithDockercompose.md |   8 +-
 13 files changed, 457 insertions(+), 449 deletions(-)

diff --git a/docs/01-introduction/01whychoose.md 
b/docs/00-introduction/01whychoose.md
similarity index 100%
rename from docs/01-introduction/01whychoose.md
rename to docs/00-introduction/01whychoose.md
diff --git a/docs/01-introduction/03whatis.md b/docs/00-introduction/02whatis.md
similarity index 100%
rename from docs/01-introduction/03whatis.md
rename to docs/00-introduction/02whatis.md
diff --git a/docs/01-introduction/_category_.json 
b/docs/00-introduction/_category_.json
similarity index 100%
rename from docs/01-introduction/_category_.json
rename to docs/00-introduction/_category_.json
diff --git a/docs/01-introduction/02quickstart.md 
b/docs/01-quickstart/01quickstart.md
similarity index 100%
rename from docs/01-introduction/02quickstart.md
rename to docs/01-quickstart/01quickstart.md
diff --git a/docs/01-introduction/02quickstartWithDocker4.x.md 
b/docs/01-quickstart/02quickstartWithDocker.md
similarity index 96%
rename from docs/01-introduction/02quickstartWithDocker4.x.md
rename to docs/01-quickstart/02quickstartWithDocker.md
index 85d70a80ce..dd09eda8bb 100644
--- a/docs/01-introduction/02quickstartWithDocker4.x.md
+++ b/docs/01-quickstart/02quickstartWithDocker.md
@@ -1,227 +1,227 @@
-# Docker 部署 RocketMQ 4.X
-
-这一节介绍如何使用Docker快速部署一个单节点单副本 RocketMQ 服务,并完成简单的消息收发。
-
-:::tip 系统要求
-
-1. 64位操作系统
-2. 64位 JDK 1.8+
-
-:::
-
-
-
-## 1.拉取RocketMQ镜像
-
-这里以[dockerhub](https://hub.docker.com/r/apache/rocketmq/tags)上 RocketMQ 4.9.6 
版本的镜像为例,介绍部署过程。
-
-```shell
-docker pull apache/rocketmq:4.9.6
-```
-
-## 2.创建容器共享网络
-
-RocketMQ中有多个服务,需要创建多个容器,创建 docker 网络便于容器间相互通信。
-
-```shell
-docker network create rocketmq
-```
-
-## 3.启动NameServer
-
-```shell
-# 启动NameServer
-docker run -d --name rmqnamesrv -p 9876:9876 --net rocketmq 
apache/rocketmq:4.9.6 sh mqnamesrv
-
-# 验证NameServer是否启动成功
-docker logs -f rmqnamesrv
-```
-
-:::info
-
-我们可以看到 **'The Name Server boot success..',** 表示NameServer 已成功启动。
-
-:::
-
-## 4.启动Broker
-
-NameServer成功启动后,我们启动Broker。
-
-
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
-
-
-```code
-# 配置 Broker 的 IP 地址
-echo "brokerIP1=127.0.0.1" >broker.conf
-
-# 启动 Broker
-docker run -d \
---name rmqbroker \
---net rocketmq \
--p 10912:10912 -p 10911:10911 -p 10909:10909 \
--e "NAMESRV_ADDR=rmqnamesrv:9876" \
--v ./broker.conf:/home/rocketmq/rocketmq-4.9.6/conf/broker.conf \
-apache/rocketmq:4.9.6 sh mqbroker \
--c /home/rocketmq/rocketmq-4.9.6/conf/broker.conf
-
-# 验证 Broker 是否启动成功
-docker logs rmqbroker
-```
-
-
-
-```code
-# 配置 Broker 的 IP 地址
-echo "brokerIP1=127.0.0.1" >broker.conf
-
-# 启动 Broker
-docker run -d ^
---name rmqbroker ^
---net rocketmq ^
--p 10912:10912 -p 10911:10911 -p 10909:10909 ^
--e "NAMESRV_ADDR=rmqnamesrv:9876" ^
--v %cd%\broker.conf:/home/rocketmq/rocketmq-4.9.6/conf/broker.conf ^
-apache/rocketmq:4.9.6 sh mqbroker ^
--c /home/rocketmq/rocketmq-4.9.6/conf/broker.conf
-
-# 验证 Broker 是否启动成功
-docker logs rmqbroker
-```
-
-
-
-
-
-
-
-
-:::info
-
-我们可以看到 **'The broker boot success..',** 表示 Broker 已成功启动。
-
-:::
-
-:::note
-
-至此,一个单节点副本的 RocketMQ 集群已经部署起来了,我们可以利用脚本进行简单的消息收发。
-
-:::
-
-## 5.工具测试消息收发
-
-```shell
-# 进入broker容器
-$ docker exec -it rmqbroker bash
-
-$ sh tools.sh org.apache.rocketmq.example.quickstart.Producer
- SendResult [sendStatus=SEND_OK, msgId= ...
-
-$ sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
- ConsumeMessageThread_%d Receive New Messages: [MessageExt...
-```
-
-
-
-## 6.SDK测试消息收发
-
-工具测试完成后,我们可以尝试使用 SDK 收发消息,这里以 Java SDK 为例介绍一下消息收发过程。
-
-1. 在ID

(rocketmq-site) branch new-official-website updated: 修复文档02topic.md (#660)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 27bd0f05cf 修复文档02topic.md (#660)
27bd0f05cf is described below

commit 27bd0f05cf0a35d6833b256f5c7144db2d265087
Author: summerbird_1 <77279473+summerbir...@users.noreply.github.com>
AuthorDate: Sun Jun 2 20:26:18 2024 +0800

修复文档02topic.md (#660)
---
 versioned_docs/version-5.0/03-domainModel/02topic.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/versioned_docs/version-5.0/03-domainModel/02topic.md 
b/versioned_docs/version-5.0/03-domainModel/02topic.md
index 13d5bfcf46..bda530572a 100644
--- a/versioned_docs/version-5.0/03-domainModel/02topic.md
+++ b/versioned_docs/version-5.0/03-domainModel/02topic.md
@@ -83,9 +83,9 @@ Apache RocketMQ 5.x版本支持将消息类型拆分到主题中进行独立运
 
 **常见错误使用场景**
 
-* 发送的消息类型不匹配例如,创建主题时消息类型定义为顺序消息,发送消息时发送事务消息到该主题中,此时消息发送请求会被拒绝,并返回类型不匹配异常。
+* 发送的消息类型不匹配。例如:创建主题时消息类型定义为顺序消息,发送消息时发送事务消息到该主题中,此时消息发送请求会被拒绝,并返回类型不匹配异常。
 
-* 
单一消息主题混用例如,创建主题时消息类型定义为普通消息,发送消息时同时发送普通消息和顺序消息到该主题中,则顺序消息的发送请求会被拒绝,并返回类型不匹配异常。
+* 
单一消息主题混用。例如:创建主题时消息类型定义为普通消息,发送消息时同时发送普通消息和顺序消息到该主题中,则顺序消息的发送请求会被拒绝,并返回类型不匹配异常。
 
 
 ## 版本兼容性 



(rocketmq-site) branch new-official-website updated: Add the email subscription steps to the 5.X version document.

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 7063e39de9 Add the email subscription steps to the 5.X version 
document.
7063e39de9 is described below

commit 7063e39de92142db38dd39a80ed126dc3708dba4
Author: summerbird_1 <77279473+summerbir...@users.noreply.github.com>
AuthorDate: Sun Jun 2 20:26:52 2024 +0800

Add the email subscription steps to the 5.X version document.
---
 .../version-5.0/11-contributionGuide/01how-to-contribute.md | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git 
a/versioned_docs/version-5.0/11-contributionGuide/01how-to-contribute.md 
b/versioned_docs/version-5.0/11-contributionGuide/01how-to-contribute.md
index 5bc880ff9a..2f720256e1 100644
--- a/versioned_docs/version-5.0/11-contributionGuide/01how-to-contribute.md
+++ b/versioned_docs/version-5.0/11-contributionGuide/01how-to-contribute.md
@@ -50,7 +50,18 @@ Apache RocketMQ 社区成员主要通过以下两种邮件沟通和交流:
 * [Development mailing list](mailto:d...@rocketmq.apache.org) : Apache 
RocketMQ 开发者通过该邮件列表交流新特性,预发布版本,一般的开发流程等。
 
   若您热衷于为 RocketMQ 社区贡献代码,可以加入该邮件列表。
-
+- 订阅步骤 : 以订阅 `d...@rocketmq.apache.org` 邮件列表为例,具体步骤如下。
+  1. 发送一封不包含任何内容或主题的邮件到: `dev-subscr...@rocketmq.apache.org`
+  2. 等待直到收到一封主题为 `confirm subscribe to d...@rocketmq.apache.org` 
的邮件(如果长时间未能收到,请确认该邮件是否被你的邮箱拦截,确定没有被拦截且长时间未收到回复邮件的话,返回第1步)
+  3. 直接回复该邮件,不用修改主题和添加邮件内容。
+  4. 等待直到收到一封主题为 `WELCOME to d...@rocketmq.apache.org` 的邮件。
+  5. 收到 `dev` 的邮件后,就说明订阅邮件成功。若想发起讨论,直接往 `d...@rocketmq.apache.org` 
发送邮件即可,所有订阅了邮件列表的人都会收到邮件。
+- 退订步骤 : 退订邮件列表的步骤与订阅邮件列表类似,具体步骤如下。
+  1. 发送一封不包含任何内容或主题的邮件到: `dev-unsubscr...@rocketmq.apache.org`
+  2. 等待直到收到一封主题为 `confirm unsubscribe from d...@rocketmq.apache.org` 的邮件
+  3. 直接回复该邮件,不用修改主题和添加邮件内容
+  4. 等待直到收到一封主题为 `GOODBYE from d...@rocketmq.apache.org` 的邮件
+  5. 退订成功
 
 您也可以通过订阅 [mailing lists](/contact),获取更多的社区信息。
 



Re: [PR] Add four new metric descriptions for Version 5.x [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #648:
URL: https://github.com/apache/rocketmq-site/pull/648


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Add four new metric descriptions for Version 5.x (#648)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 7c7fda06dc Add four new metric descriptions for Version 5.x (#648)
7c7fda06dc is described below

commit 7c7fda06dc562e387654448083ead37c16fd5e10
Author: Stephanie0002 <55239858+stephanie0...@users.noreply.github.com>
AuthorDate: Sun Jun 2 20:27:54 2024 +0800

Add four new metric descriptions for Version 5.x (#648)

* Add new committer sunxiaojian (#173)

* Add new committer styletang

* Add new committer sunxiaojian

* Add committer hzh (#176)

* 'add_top_contributor'

* 'modify_pic'

* modify

* Improve release manual, explicitly asking new release managers to add 
his/her keys to both dev and release KEYS files; Correct other spell issues and 
expressions

* copy old website code to develop

* Add two metric rocketmq_create_topic_time and 
rocketmq_create_subscription_time

* Add two metric rocketmq_create_topic_time and 
rocketmq_create_subscription_time

Signed-off-by: 黄梓淇 

* Add two metric rocketmq_create_topic_time and 
rocketmq_create_subscription_time

Signed-off-by: 黄梓淇 

-

Signed-off-by: 黄梓淇 
Co-authored-by: xiaoyi 
Co-authored-by: hzh0425 <642256...@qq.com>
Co-authored-by: Li Zhanhui 
Co-authored-by: ShannonDing 
Co-authored-by: 黄梓淇 
---
 .asf.yaml  |  4 +-
 .../version-5.0/12-observability/01metrics.md  | 43 --
 .../version-5.0/12-observability/01metrics.md  | 40 +++-
 3 files changed, 49 insertions(+), 38 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 2e75054ef4..bfb09d37fe 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -26,10 +26,10 @@ github:
 - rocketmq
 - java
 - hacktoberfest
-
+
 notifications:
   commits:  commits@rocketmq.apache.org
   issues:   commits@rocketmq.apache.org
   pullrequests: commits@rocketmq.apache.org
   jobs: commits@rocketmq.apache.org
-  discussions:  d...@rocketmq.apache.org
+  discussions:  d...@rocketmq.apache.org
\ No newline at end of file
diff --git 
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md
 
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md
index a01272af24..d12289b1a0 100644
--- 
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md
+++ 
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md
@@ -24,24 +24,29 @@ The following table describes the labels of the metrics 
that are related to the
 - topic: the topic of RocketMQ.
 - message_type: the type of a message, which includes the following:normal:normal messages;fifo:ordered messages;transaction:Transactional messages;delay:scheduled or delayed messages.
 - consumer_group: the ID of the consumer group.
-
-| Type  | Name   | Unit| 
Description 


| Label 
|
-| - | -- | --- | 
---
 | - |
-| counter   | rocketmq_messages_in_total | count   | The 
number of messages that are produced.   


| 
cluster,node_type,node_id,topic,message_type  |
-| counter   | rocketmq_messages_out_total| count   | The 
number of messages that are consumed.   


| cluster,node_type,node_id,topic, 
consumer_group   |
-| counter   | rocketmq_throughput_in_total   | byte| The write 
throughput that are produced.

Re: [PR] Update 10consumerretrypolicy.md [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #657:
URL: https://github.com/apache/rocketmq-site/pull/657


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Update 10consumerretrypolicy.md (#657)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new c0be932017 Update 10consumerretrypolicy.md (#657)
c0be932017 is described below

commit c0be9320174815155fd4c8222f10c0189974c1de
Author: Lynch Chen <18649808...@163.com>
AuthorDate: Sun Jun 2 20:28:33 2024 +0800

Update 10consumerretrypolicy.md (#657)

fix(10consumerretrypolicy.md).syntax errors
---
 versioned_docs/version-5.0/04-featureBehavior/10consumerretrypolicy.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/versioned_docs/version-5.0/04-featureBehavior/10consumerretrypolicy.md 
b/versioned_docs/version-5.0/04-featureBehavior/10consumerretrypolicy.md
index 380f798a42..2674bd298c 100644
--- a/versioned_docs/version-5.0/04-featureBehavior/10consumerretrypolicy.md
+++ b/versioned_docs/version-5.0/04-featureBehavior/10consumerretrypolicy.md
@@ -33,7 +33,7 @@ Apache RocketMQ 的消费重试主要解决的是业务处理逻辑失败导致
 
 ## 消费重试策略概述
 
-消费重试指的是,消费者在消费某条消息失败后,Apache RocketMQ 
服务端会根据重试策略重新消费该消息,超过一次定数后若还未消费成功,则该消息将不再继续重试,直接被发送到死信队列中。
+消费重试指的是,消费者在消费某条消息失败后,Apache RocketMQ 
服务端会根据重试策略重新消费该消息,超过一定次数后若还未消费成功,则该消息将不再继续重试,直接被发送到死信队列中。
 
 **消息重试的触发条件**
 



[GH] (rocketmq-site): Workflow run "pre-release-new-site" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "pre-release-new-site" on rocketmq-site.git has failed.
Run started by GitHub user RongtongJin (triggered by RongtongJin).

Head commit for run:
27bd0f05cf0a35d6833b256f5c7144db2d265087 / summerbird_1 
<77279473+summerbir...@users.noreply.github.com>
修复文档02topic.md (#660)

Report URL: https://github.com/apache/rocketmq-site/actions/runs/9338229689

With regards,
GitHub Actions via GitBox



[GH] (rocketmq-site): Workflow run "pre-release-new-site" is working again!

2024-06-02 Thread GitBox


The GitHub Actions job "pre-release-new-site" on rocketmq-site.git has 
succeeded.
Run started by GitHub user RongtongJin (triggered by RongtongJin).

Head commit for run:
7063e39de92142db38dd39a80ed126dc3708dba4 / summerbird_1 
<77279473+summerbir...@users.noreply.github.com>
Add the email subscription steps to the 5.X version document.

Report URL: https://github.com/apache/rocketmq-site/actions/runs/9338233434

With regards,
GitHub Actions via GitBox



[PR] Resolved display issue with English documentation [rocketmq-site]

2024-06-02 Thread via GitHub


Cindy0802 opened a new pull request, #662:
URL: https://github.com/apache/rocketmq-site/pull/662

   Resolved display issue with English documentation
   


-- 
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-unsubscr...@rocketmq.apache.org

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



[PR] Modify directory names and document names [rocketmq-site]

2024-06-02 Thread via GitHub


kaxiya1021 opened a new pull request, #663:
URL: https://github.com/apache/rocketmq-site/pull/663

   ## What is the purpose of the change
   
   Modify directory names and document names
   


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [I] The same message is consumed by multiple consumers under the same consumption group [rocketmq]

2024-06-02 Thread via GitHub


github-actions[bot] closed issue #6840: The same message is consumed by 
multiple consumers under the same consumption group
URL: https://github.com/apache/rocketmq/issues/6840


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [I] The same message is consumed by multiple consumers under the same consumption group [rocketmq]

2024-06-02 Thread via GitHub


github-actions[bot] commented on issue #6840:
URL: https://github.com/apache/rocketmq/issues/6840#issuecomment-2144071497

   This issue was closed because it has been inactive for 3 days since being 
marked as stale.


-- 
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-unsubscr...@rocketmq.apache.org

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



[GH] (rocketmq): Workflow run "Snapshot Daily Release Automation" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "Snapshot Daily Release Automation" on rocketmq.git has 
failed.
Run started by GitHub user lizhanhui (triggered by lizhanhui).

Head commit for run:
144b22ba7d557619275a7b4a343c7350836b0b2c / mxsm 
[ISSUE #8235]Add @Override annotation for handleDiskFlush method (#8236)

Report URL: https://github.com/apache/rocketmq/actions/runs/9342327519

With regards,
GitHub Actions via GitBox



Re: [I] DefaultMQProducer发送消息时,当网络延迟3S时,程序直接崩溃 [rocketmq-client-cpp]

2024-06-02 Thread via GitHub


HUHANK commented on issue #472:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/472#issuecomment-2144123037

   > @HUHANK 你用的哪个版本?你再看看别的线程的堆栈
   版本是:2.2.0
   下面是线程的调用堆栈信息:
   ```
   (gdb) i threads
 Id   Target Id Frame 
 11   Thread 0x7f27ad681700 (LWP 20472) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 10   Thread 0x7f27a6ffd700 (LWP 20476) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 9Thread 0x7f27ace80700 (LWP 20473) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 8Thread 0x7f27a7fff700 (LWP 20474) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 7Thread 0x7f27ade82700 (LWP 20471) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 6Thread 0x7f27a77fe700 (LWP 20475) 0x7f27b5416a35 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 5Thread 0x7f27ae683700 (LWP 20486) 0x7f27afdf50e3 in epoll_wait () 
from /lib64/libc.so.6
 4Thread 0x7f27a5ffb700 (LWP 20478) 0x7f27afdf50e3 in epoll_wait () 
from /lib64/libc.so.6
 3Thread 0x7f27b612bac0 (LWP 20469) 0x7f27b5414017 in pthread_join 
() from /lib64/libpthread.so.0
 2Thread 0x7f27a4ff9700 (LWP 20485) 0x7f27afdf50e3 in epoll_wait () 
from /lib64/libc.so.6
   * 1Thread 0x7f27a67fc700 (LWP 20477) 0x7f27afe4c6a6 in 
__memcpy_ssse3_back () from /lib64/libc.so.6
   ```
   
   ```
   (gdb) thread apply all bt
   
   Thread 11 (Thread 0x7f27ad681700 (LWP 20472)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58490b3 in boost::asio::io_context::run() () from 
/home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home/hank/lib/librocketmq.so
   #4  0x7f27b5412ea5 in start_thread () from /lib64/libpthread.so.0
   #5  0x7f27afdf4b0d in clone () from /lib64/libc.so.6
   
   Thread 10 (Thread 0x7f27a6ffd700 (LWP 20476)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58bc18e in rocketmq::TcpRemotingClient::boost_asio_work() () 
from /home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home/hank/lib/librocketmq.so
   #4  0x7f27b5412ea5 in start_thread () from /lib64/libpthread.so.0
   #5  0x7f27afdf4b0d in clone () from /lib64/libc.so.6
   
   Thread 9 (Thread 0x7f27ace80700 (LWP 20473)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58490b3 in boost::asio::io_context::run() () from 
/home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home/hank/lib/librocketmq.so
   #4  0x7f27b5412ea5 in start_thread () from /lib64/libpthread.so.0
   #5  0x7f27afdf4b0d in clone () from /lib64/libc.so.6
   
   Thread 8 (Thread 0x7f27a7fff700 (LWP 20474)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58490b3 in boost::asio::io_context::run() () from 
/home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home/hank/lib/librocketmq.so
   #4  0x7f27b5412ea5 in start_thread () from /lib64/libpthread.so.0
   #5  0x7f27afdf4b0d in clone () from /lib64/libc.so.6
   
   Thread 7 (Thread 0x7f27ade82700 (LWP 20471)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58490b3 in boost::asio::io_context::run() () from 
/home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home/hank/lib/librocketmq.so
   #4  0x7f27b5412ea5 in start_thread () from /lib64/libpthread.so.0
   #5  0x7f27afdf4b0d in clone () from /lib64/libc.so.6
   
   Thread 6 (Thread 0x7f27a77fe700 (LWP 20475)):
   #0  0x7f27b5416a35 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x7f27b581c8ac in 
boost::asio::detail::scheduler::run(boost::system::error_code&) () from 
/home/hank/lib/librocketmq.so
   #2  0x7f27b58490b3 in boost::asio::io_context::run() () from 
/home/hank/lib/librocketmq.so
   #3  0x7f27b590e1df in thread_proxy () from /home

Re: [PR] Fix typo in user_guide.md [rocketmq]

2024-06-02 Thread via GitHub


RongtongJin commented on PR #8244:
URL: https://github.com/apache/rocketmq/pull/8244#issuecomment-2144148693

It would be better to submit a relevant issue first @liuzc9 


-- 
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-unsubscr...@rocketmq.apache.org

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



[GH] (rocketmq): Workflow run "Build and Run Tests by Bazel" is working again!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git has 
succeeded.
Run started by GitHub user liuzc9 (triggered by RongtongJin).

Head commit for run:
229b08e7a90f9721f011f31f01608c6ca7c9021e / liuzc9 
<90489940+liu...@users.noreply.github.com>
Fix typo in user_guide.md

Report URL: https://github.com/apache/rocketmq/actions/runs/9342947921

With regards,
GitHub Actions via GitBox



[GH] (rocketmq): Workflow run "E2E test for pull request" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "E2E test for pull request" on rocketmq.git has failed.
Run started by GitHub user liuzc9 (triggered by liuzc9).

Head commit for run:
144b22ba7d557619275a7b4a343c7350836b0b2c / mxsm 
[ISSUE #8235]Add @Override annotation for handleDiskFlush method (#8236)

Report URL: https://github.com/apache/rocketmq/actions/runs/9343191010

With regards,
GitHub Actions via GitBox



Re: [PR] Fix typo in user_guide.md [rocketmq]

2024-06-02 Thread via GitHub


codecov-commenter commented on PR #8244:
URL: https://github.com/apache/rocketmq/pull/8244#issuecomment-2144167048

   ## 
[Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/8244?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 42.90%. Comparing base 
[(`144b22b`)](https://app.codecov.io/gh/apache/rocketmq/commit/144b22ba7d557619275a7b4a343c7350836b0b2c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 to head 
[(`229b08e`)](https://app.codecov.io/gh/apache/rocketmq/commit/229b08e7a90f9721f011f31f01608c6ca7c9021e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   
   Additional details and impacted files
   
   
   ```diff
   @@  Coverage Diff  @@
   ## develop#8244  +/-   ##
   =
   - Coverage  42.92%   42.90%   -0.03% 
   + Complexity 1038310381   -2 
   =
 Files   1271 1271  
 Lines  8878588785  
 Branches   1140811408  
   =
   - Hits   3811238091  -21 
   - Misses 4597345988  +15 
   - Partials4700 4706   +6 
   ```
   
   
   
   
   
   [:umbrella: View full report in Codecov by 
Sentry](https://app.codecov.io/gh/apache/rocketmq/pull/8244?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   :loudspeaker: Have feedback on the report? [Share it 
here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   


-- 
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-unsubscr...@rocketmq.apache.org

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



[I] [Doc] fix 'meesage' typo in user_guide.md [rocketmq]

2024-06-02 Thread via GitHub


liuzc9 opened a new issue, #8245:
URL: https://github.com/apache/rocketmq/issues/8245

   ### Search before creation
   
   - [X] I had searched in the 
[issues](https://github.com/apache/rocketmq/issues) and found no similar issues.
   
   
   ### Documentation Related
   
   ./mqadmin sendMessage -m true --topic some-topic-name -n 127.0.0.1:9876 -p 
"your meesgae content"
   this 'your meesage content' typo.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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-unsubscr...@rocketmq.apache.org.apache.org

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



Re: [PR] [ISSUE #8220] Add a message sending time cost prompt for message sending timeout [rocketmq]

2024-06-02 Thread via GitHub


weihubeats commented on PR #8221:
URL: https://github.com/apache/rocketmq/pull/8221#issuecomment-2144187446

   effect: 
   
![image](https://github.com/apache/rocketmq/assets/42484192/9a37050b-b4f6-4458-ba57-abb2a1588a22)
   


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Fix typo in user_guide.md [rocketmq]

2024-06-02 Thread via GitHub


liuzc9 commented on PR #8244:
URL: https://github.com/apache/rocketmq/pull/8244#issuecomment-2144187824

   I submitted a new issue with #8245 


-- 
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-unsubscr...@rocketmq.apache.org

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



[GH] (rocketmq): Workflow run "Build and Run Tests by Maven" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Maven" on rocketmq.git has 
failed.
Run started by GitHub user Mrhorse99 (triggered by RongtongJin).

Head commit for run:
044ac92043e9398cdcead2ca862b3f6e5271d731 / Mrhorse99 
<82942806+mrhors...@users.noreply.github.com>
Merge branch 'apache:develop' into develop

Report URL: https://github.com/apache/rocketmq/actions/runs/9334583081

With regards,
GitHub Actions via GitBox



[GH] (rocketmq): Workflow run "Build and Run Tests by Maven" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Maven" on rocketmq.git has 
failed.
Run started by GitHub user liuzc9 (triggered by RongtongJin).

Head commit for run:
229b08e7a90f9721f011f31f01608c6ca7c9021e / liuzc9 
<90489940+liu...@users.noreply.github.com>
Fix typo in user_guide.md

Report URL: https://github.com/apache/rocketmq/actions/runs/9342947916

With regards,
GitHub Actions via GitBox



Re: [PR] Modify directory names and document names [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin commented on code in PR #663:
URL: https://github.com/apache/rocketmq-site/pull/663#discussion_r1623735600


##
i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/01quickstart.md:
##
@@ -1,4 +1,4 @@
-# Quickstart
+# Local Deployment of RocketMQ

Review Comment:
   “Run RocketMQ locally” may be better



##
i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/03quickstartWithDockercompose.md:
##
@@ -1,4 +1,4 @@
-# Docker-compose Deployment of RocketMQ
+# Docker Compose Deployment of RocketMQ

Review Comment:
   Run RocketMQ with Docker Compose



##
i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/03quickstartWithDockercompose.md:
##
@@ -1,4 +1,4 @@
-# Docker-compose Deployment of RocketMQ
+# Docker Compose Deployment of RocketMQ

Review Comment:
   Run RocketMQ with Docker Compose



##
i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md:
##
@@ -1,4 +1,4 @@
-# Quick Start
+# Local Deployment of RocketMQ

Review Comment:
   “Run RocketMQ locally” may be better



-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Resolved display issue with English documentation [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin commented on code in PR #662:
URL: https://github.com/apache/rocketmq-site/pull/662#discussion_r1623736215


##
i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md:
##
@@ -0,0 +1,245 @@
+# Docker Deployment of RocketMQ

Review Comment:
   Run RocketMQ in Docker



-- 
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-unsubscr...@rocketmq.apache.org

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



[GH] (rocketmq): Workflow run "Build and Run Tests by Maven" is working again!

2024-06-02 Thread GitBox


The GitHub Actions job "Build and Run Tests by Maven" on rocketmq.git has 
succeeded.
Run started by GitHub user 3424672656 (triggered by RongtongJin).

Head commit for run:
e5ee9a54923a887f568dc9fdc66ea40f26f3d03e / wanghuaiyuan <3424672...@qq.com>
Remove duplicate code

Report URL: https://github.com/apache/rocketmq/actions/runs/9335666831

With regards,
GitHub Actions via GitBox



Re: [PR] Resolved display issue with English documentation [rocketmq-site]

2024-06-02 Thread via GitHub


Cindy0802 closed pull request #662: Resolved display issue with English 
documentation
URL: https://github.com/apache/rocketmq-site/pull/662


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Modify directory names and document names [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #663:
URL: https://github.com/apache/rocketmq-site/pull/663


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Modify directory names and document names (#663)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 5a166af4e8 Modify directory names and document names (#663)
5a166af4e8 is described below

commit 5a166af4e8e2994ad334fb77fefe68677d6d56a1
Author: Kaxiya <125204531+kaxiya1...@users.noreply.github.com>
AuthorDate: Mon Jun 3 11:27:22 2024 +0800

Modify directory names and document names (#663)

* Modify directory names and document names

* revised the title
---
 docs/00-introduction/_category_.json |  2 +-
 docs/01-quickstart/01quickstart.md   |  2 +-
 docs/01-quickstart/03quickstartWithDockercompose.md  |  2 +-
 docs/01-quickstart/_category_.json   |  4 
 .../current/01-quickstart/01quickstart.md|  2 +-
 .../current/01-quickstart/02quickstartWithDocker.md  |  2 +-
 .../current/01-quickstart/03quickstartWithDockercompose.md   |  2 +-
 .../version-5.0/02-quickStart/01quickstart.md|  8 
 .../version-5.0/02-quickStart/02quickstartwithDocker.md  |  2 +-
 .../02-quickStart/03quickstartWithDockercompose.md   |  8 
 versioned_docs/version-5.0/02-quickStart/01quickstart.md | 12 ++--
 .../02-quickStart/03quickstartWithDockercompose.md   |  6 +++---
 12 files changed, 28 insertions(+), 24 deletions(-)

diff --git a/docs/00-introduction/_category_.json 
b/docs/00-introduction/_category_.json
index 750e4bf6c7..0d3ceb679e 100644
--- a/docs/00-introduction/_category_.json
+++ b/docs/00-introduction/_category_.json
@@ -1,4 +1,4 @@
 {
 "label": "基本概念",
-"position": 1
+"position": 0
 }
\ No newline at end of file
diff --git a/docs/01-quickstart/01quickstart.md 
b/docs/01-quickstart/01quickstart.md
index c17dcebe30..293317a738 100644
--- a/docs/01-quickstart/01quickstart.md
+++ b/docs/01-quickstart/01quickstart.md
@@ -1,4 +1,4 @@
-# 快速开始
+# 本地部署 RocketMQ
 
 这一节介绍如何快速部署一个单 Master RocketMQ 集群,并完成简单的消息收发。
 
diff --git a/docs/01-quickstart/03quickstartWithDockercompose.md 
b/docs/01-quickstart/03quickstartWithDockercompose.md
index 13b0c1d43e..b234c87872 100644
--- a/docs/01-quickstart/03quickstartWithDockercompose.md
+++ b/docs/01-quickstart/03quickstartWithDockercompose.md
@@ -1,4 +1,4 @@
-# Docker-compose 部署 RocketMQ
+# Docker Compose 部署 RocketMQ
 
 这一节介绍如何使用Docker-compose快速部署一个单节点单副本 RocketMQ 服务,并完成简单的消息收发。
 
diff --git a/docs/01-quickstart/_category_.json 
b/docs/01-quickstart/_category_.json
new file mode 100644
index 00..d1abad8b3c
--- /dev/null
+++ b/docs/01-quickstart/_category_.json
@@ -0,0 +1,4 @@
+{
+"label": "快速开始",
+"position": 1
+}
\ No newline at end of file
diff --git 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/01quickstart.md 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/01quickstart.md
index 1409fa2650..5fe51f1950 100644
--- 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/01quickstart.md
+++ 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/01quickstart.md
@@ -1,4 +1,4 @@
-# Quickstart
+# Run RocketMQ locally
 
 This section will introduce the method of quickly building and deploying a 
single-Master RocketMQ cluster to complete simple message sending and receiving.
 
diff --git 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/02quickstartWithDocker.md
 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/02quickstartWithDocker.md
index 3848e81ff9..3707fe117e 100644
--- 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/02quickstartWithDocker.md
+++ 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/02quickstartWithDocker.md
@@ -1,4 +1,4 @@
-# Docker Deployment of RocketMQ
+# Run RocketMQ in Docker
 
 This section introduces how to quickly deploy a single-node, single-replica 
RocketMQ service using Docker and complete simple message sending and receiving.
 
diff --git 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/03quickstartWithDockercompose.md
 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/03quickstartWithDockercompose.md
index 96a1cde872..6ec0c9cdfa 100644
--- 
a/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/03quickstartWithDockercompose.md
+++ 
b/i18n/en/docusaurus-plugin-content-docs/current/01-quickstart/03quickstartWithDockercompose.md
@@ -1,4 +1,4 @@
-# Docker-compose Deployment of RocketMQ
+# Run RocketMQ with Docker Compose
 
 This section introduces how to quickly deploy a single-node, single-replica 
RocketMQ service using Docker-compose and complete simple message sending and 
receiving.
 
diff --git 
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/01quickstart.md
 
b/i18n/en/docusaurus-plugin-content-d

[PR] Change the filename to resolve the display issue with the English documentation [rocketmq-site]

2024-06-02 Thread via GitHub


Cindy0802 opened a new pull request, #664:
URL: https://github.com/apache/rocketmq-site/pull/664

   In this pull request, the filename of the English documentation for running 
RocketMQ in Docker has been modified to match its Chinese counterpart. This 
change resolves the issue where the English document was not displaying 
correctly.


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Change the filename to resolve the display issue with the English documentation [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #664:
URL: https://github.com/apache/rocketmq-site/pull/664


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Change the filename to resolve the display issue with the English documentation. (#664)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new f7e49dd545 Change the filename to resolve the display issue with the 
English documentation. (#664)
f7e49dd545 is described below

commit f7e49dd545fbf2f2acb8f6a66d355f32dfda9790
Author: CindyXC <72009468+cindy0...@users.noreply.github.com>
AuthorDate: Mon Jun 3 11:47:36 2024 +0800

Change the filename to resolve the display issue with the English 
documentation. (#664)

Co-authored-by: XCii1 <13015886...@139.com>
---
 .../{02quickstartwithDocker.md => 02quickstartWithDocker.md}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

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
similarity index 100%
rename from 
i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartwithDocker.md
rename to 
i18n/en/docusaurus-plugin-content-docs/version-5.0/02-quickStart/02quickstartWithDocker.md



[PR] Corrected the directory error in the 4.x English version [rocketmq-site]

2024-06-02 Thread via GitHub


kaxiya1021 opened a new pull request, #665:
URL: https://github.com/apache/rocketmq-site/pull/665

   Corrected the directory error in the 4.x English version and the comment 
error in the 5.0 version quickstart.


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] Corrected the directory error in the 4.x English version [rocketmq-site]

2024-06-02 Thread via GitHub


RongtongJin merged PR #665:
URL: https://github.com/apache/rocketmq-site/pull/665


-- 
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-unsubscr...@rocketmq.apache.org

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



(rocketmq-site) branch new-official-website updated: Corrected the directory error in the 4.x English version (#665)

2024-06-02 Thread jinrongtong
This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
 new 6b2c396340 Corrected the directory error in the 4.x English version 
(#665)
6b2c396340 is described below

commit 6b2c396340275f4da3ddb79a46feb691d82f8550
Author: Kaxiya <125204531+kaxiya1...@users.noreply.github.com>
AuthorDate: Mon Jun 3 13:49:11 2024 +0800

Corrected the directory error in the 4.x English version (#665)

* Add a quickstart directory

* Corrected the port comment error.
---
 i18n/en/docusaurus-plugin-content-docs/current.json  | 6 +-
 versioned_docs/version-5.0/02-quickStart/01quickstart.md | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/i18n/en/docusaurus-plugin-content-docs/current.json 
b/i18n/en/docusaurus-plugin-content-docs/current.json
index 704fc8656b..fc5f2810d7 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current.json
+++ b/i18n/en/docusaurus-plugin-content-docs/current.json
@@ -6,6 +6,10 @@
   "sidebar.myAutogeneratedSidebar.category.基本概念": {
 "message": "Introduction",
 "description": "The label for category 基本概念 in sidebar 
myAutogeneratedSidebar"
+  },
+"sidebar.myAutogeneratedSidebar.category.快速开始": {
+"message": "Quick Start",
+"description": "The label for category 快速开始 in sidebar 
myAutogeneratedSidebar"
   },
   "sidebar.myAutogeneratedSidebar.category.生产者": {
 "message": "Producer",
@@ -47,4 +51,4 @@
 "message": "Contribution Guide",
 "description": "The label for category 贡献指南 in sidebar 
myAutogeneratedSidebar"
   }
-}
\ No newline at end of file
+}
diff --git a/versioned_docs/version-5.0/02-quickStart/01quickstart.md 
b/versioned_docs/version-5.0/02-quickStart/01quickstart.md
index d31143153a..c98ccbf18f 100644
--- a/versioned_docs/version-5.0/02-quickStart/01quickstart.md
+++ b/versioned_docs/version-5.0/02-quickStart/01quickstart.md
@@ -125,7 +125,7 @@ $ sh bin/tools.sh 
org.apache.rocketmq.example.quickstart.Consumer
 private static final Logger logger = 
LoggerFactory.getLogger(ProducerExample.class);
 
 public static void main(String[] args) throws ClientException {
-// 接入点地址,需要设置成Proxy的地址和端口列表,一般是xxx:8081;xxx:8081。
+// 接入点地址,需要设置成Proxy的地址和端口列表,一般是xxx:8080;xxx:8081。
 String endpoint = "localhost:8081";
 // 消息发送的目标Topic名称,需要提前创建。
 String topic = "TestTopic";



[GH] (rocketmq): Workflow run "E2E test for pull request" failed!

2024-06-02 Thread GitBox


The GitHub Actions job "E2E test for pull request" on rocketmq.git has failed.
Run started by GitHub user LetLetMe (triggered by LetLetMe).

Head commit for run:
144b22ba7d557619275a7b4a343c7350836b0b2c / mxsm 
[ISSUE #8235]Add @Override annotation for handleDiskFlush method (#8236)

Report URL: https://github.com/apache/rocketmq/actions/runs/9345229752

With regards,
GitHub Actions via GitBox



Re: [I] DefaultMQProducer发送消息时,当网络延迟3S时,程序直接崩溃 [rocketmq-client-cpp]

2024-06-02 Thread via GitHub


ifplusor commented on issue #472:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/472#issuecomment-2144406003

   @HUHANK 你这个是发到第几条时崩溃的?


-- 
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-unsubscr...@rocketmq.apache.org

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



Re: [PR] [ISSUE 8230]fix the acl for NotifyClientTerminationRequest because group can be null [rocketmq]

2024-06-02 Thread via GitHub


dingshuangxi888 commented on code in PR #8231:
URL: https://github.com/apache/rocketmq/pull/8231#discussion_r1623866777


##
acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java:
##
@@ -268,7 +269,9 @@ public static PlainAccessResource parse(GeneratedMessageV3 
messageV3, Authentica
 }
 } else if 
(NotifyClientTerminationRequest.getDescriptor().getFullName().equals(rpcFullName))
 {
 NotifyClientTerminationRequest request = 
(NotifyClientTerminationRequest) messageV3;
-accessResource.addGroupResourceAndPerm(request.getGroup(), 
Permission.SUB);
+if (StringUtils.isNotBlank(request.getGroup().getName())) {

Review Comment:
   It is the same. the UtilAll#isBlank is using StringUtils.isNotBlank



-- 
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-unsubscr...@rocketmq.apache.org

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