You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Isabelle Giguère <ig...@opentext.com> on 2017/03/02 17:22:01 UTC

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

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