You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Dhirendra Suman <dh...@globallogic.com.INVALID> on 2017/03/02 10:13:20 UTC

Call to consumer.poll(1000) hangs

Hi,

http://stackoverflow.com/questions/42551704/call-to-consumerrecordsstring-string-records-consumer-poll1000-hangs-and

Thanks ,
Dhirendra

RE: [EXTERNAL] - Call to consumer.poll(1000) hangs

Posted by Isabelle Giguère <ig...@opentext.com>.
Hi Dhirendra;

You should probably subscribe to the topic only once, in the constructor ConsumerLoop, not at every run.

Isabelle 

-----Original Message-----
From: Dhirendra Suman [mailto:dhirendra.suman@globallogic.com.INVALID] 
Sent: 2 mars 2017 05:13
To: users@kafka.apache.org
Subject: [EXTERNAL] - Call to consumer.poll(1000) hangs

Hi,

https://urldefense.proofpoint.com/v2/url?u=http-3A__stackoverflow.com_questions_42551704_call-2Dto-2Dconsumerrecordsstring-2Dstring-2Drecords-2Dconsumer-2Dpoll1000-2Dhangs-2Dand&d=DwIBaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=Q-Opfw1cmcw80JA4CTcy2RLzNYbaH9HFkA73Lysw0Lo&m=n-cDDtJkR0MpF7MQjM5QrU-L0Wq90w8-sxSRgIM_D6s&s=N4A7xpgiA9cjX7TR82AUtlLULiWzyscNeEqTZQTg20A&e= 

Thanks ,
Dhirendra

Re: Call to consumer.poll(1000) hangs

Posted by R Krishna <kr...@gmail.com>.
Running consumer with full DEBUG/TRACE level logging will show you why.

On Thu, Mar 2, 2017 at 2:13 AM, Dhirendra Suman <
dhirendra.suman@globallogic.com.invalid> wrote:

> Hi,
>
> http://stackoverflow.com/questions/42551704/call-to-
> consumerrecordsstring-string-records-consumer-poll1000-hangs-and
>
> Thanks ,
> Dhirendra
>



-- 
Radha Krishna, Proddaturi
253-234-5657