ableegoldman opened a new pull request #11111:
URL: https://github.com/apache/kafka/pull/11111


   In older versions of Kafka Streams, the `max.poll.interval.ms` config was 
overridden by default to `Integer.MAX_VALUE`. Even after we removed this 
override, users of both the plain consumer client and kafka streams still set 
the poll interval to MAX_VALUE somewhat often. Unfortunately, this causes an 
overflow when computing the `joinGroupTimeoutMs` and results in it being set to 
the `request.timeout.ms` instead, which is much lower.
   
   This can easily make consumers drop out of the group, since they must rejoin 
now within 30s (by default) yet have no obligation to almost ever call poll() 
given the high `max.poll.interval.ms`. We just need to check for overflow and 
fix it to `Integer.MAX_VALUE` when it occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to