Max interval poll

Hi all,

I’m facing an issue with the 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, 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