You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2021/09/19 05:24:56 UTC
[kafka] branch trunk updated: KAFKA-13301 Config documentation
optimized for 'request.timeout. ms' and 'max.poll.interval.ms'. (#11329)
This is an automated email from the ASF dual-hosted git repository.
guozhang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new db16c51 KAFKA-13301 Config documentation optimized for 'request.timeout. ms' and 'max.poll.interval.ms'. (#11329)
db16c51 is described below
commit db16c516a7086451950d3bafeecc8a56044327c2
Author: Weisheng Yang <46...@users.noreply.github.com>
AuthorDate: Sun Sep 19 13:19:02 2021 +0800
KAFKA-13301 Config documentation optimized for 'request.timeout. ms' and 'max.poll.interval.ms'. (#11329)
Reviewers: Guozhang Wang <wa...@gmail.com>
---
docs/upgrade.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/upgrade.html b/docs/upgrade.html
index d825322..2d1d2e2 100644
--- a/docs/upgrade.html
+++ b/docs/upgrade.html
@@ -1543,9 +1543,9 @@ only support 0.10.1.x or later brokers while 0.10.1.x brokers also support older
<li> The new Java Consumer now supports heartbeating from a background thread. There is a new configuration
<code>max.poll.interval.ms</code> which controls the maximum time between poll invocations before the consumer
will proactively leave the group (5 minutes by default). The value of the configuration
- <code>request.timeout.ms</code> must always be larger than <code>max.poll.interval.ms</code> because this is the maximum
- time that a JoinGroup request can block on the server while the consumer is rebalancing, so we have changed its default
- value to just above 5 minutes. Finally, the default value of <code>session.timeout.ms</code> has been adjusted down to
+ <code>request.timeout.ms</code> (default to 30 seconds) must always be smaller than <code>max.poll.interval.ms</code>(default to 5 minutes),
+ since that is the maximum time that a JoinGroup request can block on the server while the consumer is rebalance.
+ Finally, the default value of <code>session.timeout.ms</code> has been adjusted down to
10 seconds, and the default value of <code>max.poll.records</code> has been changed to 500.</li>
<li> When using an Authorizer and a user doesn't have <b>Describe</b> authorization on a topic, the broker will no
longer return TOPIC_AUTHORIZATION_FAILED errors to requests since this leaks topic names. Instead, the UNKNOWN_TOPIC_OR_PARTITION