# Max interval poll

**URL:** <https://forum.confluent.io/t/max-interval-poll/10959>\
**Category:** Kafka Connect\
**Created:** [26 June 2024 14:06 UTC](https://forum.confluent.io/t/max-interval-poll/10959 "2024-06-26T14:06:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gashoka](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@gashoka](https://forum.confluent.io/u/gashoka)\
**Post date:** [26 June 2024 14:06 UTC](https://forum.confluent.io/t/max-interval-poll/10959/1 "2024-06-26T14:06:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [26 July 2024 14:07 UTC](https://forum.confluent.io/t/max-interval-poll/10959/2 "2024-07-26T14:07:14Z")

</div>

Closed on 26 July 2024 14:07 UTC

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