Re: consumer poll returns no records unless called more than once, why?

2015-06-01 Thread Jason Rosenberg
@kafka.apache.org Subject: Re: consumer poll returns no records unless called more than once, why? Hey Ben, The consumer actually doesn't promise to return records on any given poll() call and even in trunk it won't return records on the first call likely. Internally the reason

RE: consumer poll returns no records unless called more than once, why?

2015-05-20 Thread Padgett, Ben
I am using Kafka v0.8.2.0 From: Guozhang Wang [wangg...@gmail.com] Sent: Wednesday, May 20, 2015 9:41 AM To: users@kafka.apache.org Subject: Re: consumer poll returns no records unless called more than once, why? Hello Ben, Which version of Kafka are you

Re: consumer poll returns no records unless called more than once, why?

2015-05-20 Thread Jay Kreps
...@illumina.com wrote: I am using Kafka v0.8.2.0 From: Guozhang Wang [wangg...@gmail.com] Sent: Wednesday, May 20, 2015 9:41 AM To: users@kafka.apache.org Subject: Re: consumer poll returns no records unless called more than once, why? Hello Ben

Re: consumer poll returns no records unless called more than once, why?

2015-05-20 Thread Guozhang Wang
Hello Ben, Which version of Kafka are you using with this consumer client? Guozhang On Wed, May 20, 2015 at 9:03 AM, Padgett, Ben bpadg...@illumina.com wrote: //this code Properties consumerProps = new Properties(); consumerProps.put(bootstrap.servers,

Re: consumer poll returns no records unless called more than once, why?

2015-05-20 Thread Guozhang Wang
, May 20, 2015 at 9:49 AM, Padgett, Ben bpadg...@illumina.com wrote: I am using Kafka v0.8.2.0 From: Guozhang Wang [wangg...@gmail.com] Sent: Wednesday, May 20, 2015 9:41 AM To: users@kafka.apache.org Subject: Re: consumer poll returns no records unless

RE: consumer poll returns no records unless called more than once, why?

2015-05-20 Thread Padgett, Ben
:29 AM To: users@kafka.apache.org Subject: Re: consumer poll returns no records unless called more than once, why? Hey Ben, The consumer actually doesn't promise to return records on any given poll() call and even in trunk it won't return records on the first call likely. Internally the reason