You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Shanmuga Sundaram.S" <sh...@yahoo.co.in.INVALID> on 2019/08/23 08:20:19 UTC
Session timeout behaviour with Consumer pause and not polling for
long time in
Hi
kafka version -0.10.0.1
I am assigning a set of topic partition to a consumer. Polling some messages from consumer.poll then depending upon the processing time i am pausing the consumer for all topic partitions till the processing gets complete. Then trying to resume and commit.
if i pause for long time and don't poll, will i get session timeout? or any other exception?
Re: Session timeout behaviour with Consumer pause and not polling for
long time in
Posted by Harper Henn <ha...@datto.com.INVALID>.
Hi,
Chapter 4 of Kafka: The Definitive Guide has a section about consumer
heartbeats/polling that might be helpful. It's available for free here:
https://www.confluent.io/wp-content/uploads/confluent-kafka-definitive-guide-complete.pdf
Harper
On Fri, Aug 23, 2019 at 9:23 AM Shanmuga Sundaram.S
<sh...@yahoo.co.in.invalid> wrote:
> Hi
> kafka version -0.10.0.1
>
> I am assigning a set of topic partition to a consumer. Polling some
> messages from consumer.poll then depending upon the processing time i am
> pausing the consumer for all topic partitions till the processing gets
> complete. Then trying to resume and commit.
>
>
> if i pause for long time and don't poll, will i get session timeout? or
> any other exception?