You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new Java Consumer now supports heartbeating from a background thread. There is a new configuration max.poll.interval.ms 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 request.timeout.ms must always be larger than max.poll.interval.ms** 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 session.timeout.ms has been adjusted down to 10 seconds, and the default value of max.poll.records has been changed to 500.
Also as part of KIP-266, the default value of request.timeout.ms has been changed to 30 seconds. The previous value was a little higher than 5 minutes to account for maximum time that a rebalance would take. Now we treat the JoinGroup request in the rebalance as a special case and use a value derived from max.poll.interval.ms for the request timeout. All other request types use the timeout defined by request.timeout.ms
The text was updated successfully, but these errors were encountered:
Currently, in the docs we advise that
The value of the configuration request_timeout_ms must always be larger than max_poll_interval_ms
.According to this stack overflow article, it looks like this advice is no longer accurate when dealing with Kafka 2.0+
I believe the advice originally came from the 10.1.0 upgrade notes:
But that now appears to be outdated as of the 2.0.0 upgrade notes:
The text was updated successfully, but these errors were encountered: