RE: New consumer API waits indefinitely

2016-04-12 Thread Lohith Samaga M
@kafka.apache.org Subject: RE: New consumer API waits indefinitely Dear All, I installed Kafka on a Linux VM. Here too: 1. The producer is able to store messages in the topic (sent from Windows host). 2. The consumer is unable to read it either from Windows host or

RE: New consumer API waits indefinitely

2016-04-12 Thread Lohith Samaga M
[mailto:lohith.sam...@mphasis.com] Sent: Tuesday, April 05, 2016 13.36 To: users@kafka.apache.org Subject: RE: New consumer API waits indefinitely Hi Ismael, Niko, After cleaning up the zookeeper and kafka logs, I do not get the below server exception anymore. I think Kafka did not like me

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
[mailto:lohith.sam...@mphasis.com] Sent: Tuesday, April 05, 2016 12.38 To: users@kafka.apache.org Subject: RE: New consumer API waits indefinitely Hi Ismael, I see the following exception when I (re)start Kafka (even a fresh setup after the previous one). And where is the configuration to set the

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
Message- From: isma...@gmail.com [mailto:isma...@gmail.com] On Behalf Of Ismael Juma Sent: Monday, April 04, 2016 17.21 To: users@kafka.apache.org Subject: Re: New consumer API waits indefinitely Hi Lohith, Are there any errors in your broker logs? I think there may be some issues with

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
Subject: RE: New consumer API waits indefinitely M. Lohith Samaga, Your Java code looks fine. Usually, if consumer.poll(100); doesn't return, there is probably a basic connection error. If Kafka can't connect, it will internally go into an infinite loop. To me, that doesn't seem lik

Re: New consumer API waits indefinitely

2016-04-04 Thread Ratha v
This is the same logs i get with my local kafka server, that works fine.. On 5 April 2016 at 10:20, Ratha v wrote: > HI Niko; > I face this issue with linux systems.. > I changed the logging level to debug and when I start and stop my consumer > (stopping the program) > I get same exception. Wh

Re: New consumer API waits indefinitely

2016-04-04 Thread Ratha v
HI Niko; I face this issue with linux systems.. I changed the logging level to debug and when I start and stop my consumer (stopping the program) I get same exception. What is the cause here? [2016-04-05 00:01:08,784] DEBUG Connection with /192.xx.xx.248 disconnected (org.apache.kafka.common.netw

RE: New consumer API waits indefinitely

2016-04-04 Thread Niko Davor
M. Lohith Samaga, Your Java code looks fine. Usually, if consumer.poll(100); doesn't return, there is probably a basic connection error. If Kafka can't connect, it will internally go into an infinite loop. To me, that doesn't seem like a good design, but that's a separate tangent. Turn SLF4J roo

Re: New consumer API waits indefinitely

2016-04-04 Thread Ismael Juma
omebody please help? > > > Best regards / Mit freundlichen Grüßen / Sincères salutations > M. Lohith Samaga > > > > > -Original Message- > From: Ratha v [mailto:vijayara...@gmail.com] > Sent: Monday, April 04, 2016 12.22 > To: users@kafka.apache.org > Subjec

RE: New consumer API waits indefinitely

2016-04-04 Thread Lohith Samaga M
regards / Mit freundlichen Grüßen / Sincères salutations M. Lohith Samaga -Original Message- From: Ratha v [mailto:vijayara...@gmail.com] Sent: Monday, April 04, 2016 12.22 To: users@kafka.apache.org Subject: Re: New consumer API waits indefinitely Still struggling :) Check following

RE: New consumer API waits indefinitely

2016-04-04 Thread Lohith Samaga M
essage- > From: Ratha v [mailto:vijayara...@gmail.com] > Sent: Monday, April 04, 2016 11.27 > To: users@kafka.apache.org > Subject: Re: New consumer API waits indefinitely > > I too face same issue:( > > On 4 April 2016 at 15:51, Lohith Samaga M > wrote: > > > HI,

Re: New consumer API waits indefinitely

2016-04-03 Thread Ratha v
: Ratha v [mailto:vijayara...@gmail.com] > Sent: Monday, April 04, 2016 11.27 > To: users@kafka.apache.org > Subject: Re: New consumer API waits indefinitely > > I too face same issue:( > > On 4 April 2016 at 15:51, Lohith Samaga M > wrote: > > > HI, > >

RE: New consumer API waits indefinitely

2016-04-03 Thread Lohith Samaga M
, 2016 11.27 To: users@kafka.apache.org Subject: Re: New consumer API waits indefinitely I too face same issue:( On 4 April 2016 at 15:51, Lohith Samaga M wrote: > HI, > Good morning. > > I am new to Kafka. So, please bear with me. > I a

Re: New consumer API waits indefinitely

2016-04-03 Thread Ratha v
I too face same issue:( On 4 April 2016 at 15:51, Lohith Samaga M wrote: > HI, > Good morning. > > I am new to Kafka. So, please bear with me. > I am using the new Producer and Consumer API with Kafka > 0.9.0.1 running on Windows 7 laptop with zook