Thanks, for following up on this, Tony.
It's always super helpful to hear how things get resolved.
-D
On Fri, Jul 16, 2021 at 12:14 PM Tony John < tonyjohnantony@gmail.com > wrote:
> Hi All,
>
> An update on this. Finally I could figure out the cause for this. I have a
> consumer with *MAX_POLL_INTERVAL_MS_CONFIG* set to *Integer.MAX_VALUE*,
> which was causing the problem. Looks like its a combination of
> * group.initial.rebalance.delay.ms
> < http://group.initial.rebalance.delay.ms >* in kafka + the *
> max.poll.interval.ms
> < http://max.poll.interval.ms >* causing the *Rebalance failed.
> org.apache.kafka.common.errors.DisconnectException*. After debugging I
> could see the below line from AbstractCoordinator class (line #337), which
> leads integer overflow if * max.poll.interval.ms
> < http://max.poll.interval.ms >* is greater than (Integer.MAX_VALUE - 5000)
> and thus *joinGroupTimeout...