Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE: #637] Change the transaction check interval from 60 to 30 #638

Open
wants to merge 1 commit into
base: new-official-website
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: [ISSUES: # 637] Change the transaction check interval from 60 se…
…conds to 30 seconds because the value of this field in the source code has changed
  • Loading branch information
hyj committed Apr 19, 2024
commit 3f5be17fb9192fdbea476c58cd757d5366916777
2 changes: 1 addition & 1 deletion versioned_docs/version-5.0/01-introduction/03limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Apache RocketMQ 系统中存在很多自定义参数和资源命名,您在使
| MessageGroup | 字符限制:所有可见字符。 <br></br>长度建议:1\~64字节。 | MessageGroup是顺序消息的分组标识。一般设置为需要保证顺序的一组消息标识,例如订单ID、用户ID等。 |
| 消息发送重试次数 | 默认值:3次。 <br></br>取值范围:无限制。 | 消息发送重试是客户端SDK内置的重试策略,对应用不可见,建议取值不要过大,避免阻塞业务线程。 如果消息达到最大重试次数后还未发送成功,建议业务侧做好兜底处理,保证消息可靠性。 |
| 消息消费重试次数 | 默认值:16次。 | 消费重试次数应根据实际业务需求设置合理的参数值,避免使用重试进行无限触发。重试次数过大容易造成系统压力过量增加。 |
| 事务异常检查间隔 | 默认值:60秒。 | 事务异常检查间隔指的是,半事务消息因系统重启或异常情况导致没有提交,生产者客户端会按照该间隔时间进行事务状态回查。 间隔时长不建议设置过短,否则频繁的回查调用会影响系统性能。 |
| 事务异常检查间隔 | 默认值:30秒。 | 事务异常检查间隔指的是,半事务消息因系统重启或异常情况导致没有提交,生产者客户端会按照该间隔时间进行事务状态回查。 间隔时长不建议设置过短,否则频繁的回查调用会影响系统性能。 |
| 半事务消息第一次回查时间 | 默认值:取值等于\[事务异常检查间隔\] * 最大限制:不超过1小时。 | 无。 |
| 半事务消息最大超时时长 | 默认值:4小时。 * 取值范围:不支持自定义修改。 | 半事务消息因系统重启或异常情况导致没有提交,生产者客户端会按照事务异常检查间隔时间进行回查,若超过半事务消息超时时长后没有返回结果,半事务消息将会被强制回滚。 您可以通过监控该指标避免异常事务。 |
| PushConsumer本地缓存 |默认值: <br></br> * 最大缓存数量:1024条。 <br></br>* 最大缓存大小:64 M。 <br></br>取值范围:支持用户自定义设置,无限制。 | 消费者类型为PushConsumer时,为提高消费者吞吐量和性能,客户端会在SDK本地缓存部分消息。缓存的消息的数量和大小应设置在系统内存允许的范围内。 |
Expand Down
Loading