You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ch...@apache.org on 2023/05/04 01:38:30 UTC
[rocketmq-site] branch new-official-website updated: fix the default params consumeMessageBatchMaxSize, cc to#540
This is an automated email from the ASF dual-hosted git repository.
chenzlalvin 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 a4cc1951f fix the default params consumeMessageBatchMaxSize, cc to#540
new eb1cea3bf Merge pull request #544 from chenzlalvin/fix_mistake_params
a4cc1951f is described below
commit a4cc1951f2c190d89c3ea111d82d00ec4fc0f561
Author: Zhongliang.Chen <ch...@gmail.com>
AuthorDate: Thu Apr 27 10:33:21 2023 +0800
fix the default params consumeMessageBatchMaxSize, cc to#540
---
docs/06-parameterConfiguration/01local.md | 2 +-
.../current/06-parameterConfiguration/01local.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/06-parameterConfiguration/01local.md b/docs/06-parameterConfiguration/01local.md
index ee9d29ac2..48e046545 100644
--- a/docs/06-parameterConfiguration/01local.md
+++ b/docs/06-parameterConfiguration/01local.md
@@ -103,7 +103,7 @@ DefaultMQProducer、TransactionMQProducer、DefaultMQPushConsumer、DefaultMQPul
| pullThresholdForTopic | 主题级别的流控制阈值 | int | -1 | | |
| pullThresholdSizeForTopic | 限制主题级别的缓存消息大小 | int | -1 | | |
| pullBatchSize | 一次最大拉取的批量大小 | int | 32 | | |
-| consumeMessageBatchMaxSize | 批量消费的最大消息条数 | int | -1 | | |
+| consumeMessageBatchMaxSize | 批量消费的最大消息条数 | int | 1 | | |
| postSubscriptionWhenPull | 每次拉取的时候是否更新订阅关系 | boolean | false | | |
| unitMode | 订阅组的单位 | boolean | false | | |
| maxReconsumeTimes | 一个消息如果消费失败的话,最多重新消费多少次才投递到死信队列 | int | -1 | 由于PullConsumer没有管理消费的线程池和管理器,需要用户自己处理各种消费结果和拉取结果,故需要投递到重试队列或死信队列的时候需要显示调用sendMessageBack.回传消息的时候会带上maxReconsumeTimes的值,broker发现此消息已经消费超过此值,则投递到死信队列,否则投递到重试队列。此逻辑和DefaultPushConsumer是一致的,只是PushConsumer无需用户显示调用. | |
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/06-parameterConfiguration/01local.md b/i18n/en/docusaurus-plugin-content-docs/current/06-parameterConfiguration/01local.md
index c8da236d0..ea90479bc 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/06-parameterConfiguration/01local.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/06-parameterConfiguration/01local.md
@@ -103,7 +103,7 @@ DefaultMQProducer, TransactionMQProducer, DefaultMQPushConsumer, and DefaultMQPu
| pullThresholdForTopic | Topic-level flow control threshold | int | -1 | | |
| pullThresholdSizeForTopic | Limit the topic-level cache message size | int | -1 | | |
| pullBatchSize | Maximum batch size for one pull | int | 32 | | |
-| consumeMessageBatchMaxSize | Maximum number of messages for batch consumption | int | -1 | | |
+| consumeMessageBatchMaxSize | Maximum number of messages for batch consumption | int | 1 | | |
| postSubscriptionWhenPull | Whether to update the subscription relationship each time a pull is made | boolean | false | | |
| unitMode | Subscription group unit | boolean | false | | |
| maxReconsumeTimes | The maximum number of times a message will be consumed before being delivered to the dead-letter queue if it fails | int | -1 | | |