Max interval poll

Hi all,

I’m facing an issue with the max.poll.interval.ms setting in my Kafka consumer. I consume messages from a topic, process them, and commit the offsets after processing is complete. However, sometimes the message processing takes longer than the max.poll.interval.ms, which causes the consumer to be considered idle or dead, leading to rebalancing in the consumer group.

Can you suggest any solutions to keep the consumer alive and avoid this issue?

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.