This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 6d47404884 [ISSUE #7907] revise the description of transaction
messages in RocketMQ_Example (#7908)
6d47404884 is described below
commit 6d474048849edb20325a8f6453e94b2f17f21929
Author: Gezi-lzq <[email protected]>
AuthorDate: Thu Mar 14 11:58:30 2024 +0800
[ISSUE #7907] revise the description of transaction messages in
RocketMQ_Example (#7908)
---
docs/cn/RocketMQ_Example.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/cn/RocketMQ_Example.md b/docs/cn/RocketMQ_Example.md
index ece3a56f22..4f08e88154 100644
--- a/docs/cn/RocketMQ_Example.md
+++ b/docs/cn/RocketMQ_Example.md
@@ -785,7 +785,7 @@ public class TransactionListenerImpl implements
TransactionListener {
3. 事务消息将在 Broker 配置文件中的参数 transactionTimeout
这样的特定时间长度之后被检查。当发送事务消息时,用户还可以通过设置用户属性 CHECK_IMMUNITY_TIME_IN_SECONDS
来改变这个限制,该参数优先于 `transactionTimeout` 参数。
4. 事务性消息可能不止一次被检查或消费。
5. 提交给用户的目标主题消息可能会失败,目前这依日志的记录而定。它的高可用性通过 RocketMQ
本身的高可用性机制来保证,如果希望确保事务消息不丢失、并且事务完整性得到保证,建议使用同步的双重写入机制。
-6. 事务消息的生产者 ID 不能与其他类型消息的生产者 ID 共享。与其他类型的消息不同,事务消息允许反向查询、MQ服务器能通过它们的生产者 ID
查询到消费者。
+6. 事务消息的生产者 GroupName 不能与其他类型消息的生产者 GroupName
共享。与其他类型的消息不同,事务消息允许反向查询、MQ服务器能通过它们的生产者 GroupName 查询到生产者。
7 Logappender样例
-----------------