Re: Client consumer question

2015-10-21 Thread Mohit Anchlia
I read through the documentation however when I try to access Java API through the link posted on the design page I get "no page found" http://people.apache.org/~nehanarkhede/kafka-0.9-consumer-javadoc/doc/kafka/clients/consumer/KafkaConsumer.html On Wed, Oct 21, 2015 at 9:59 AM, Mohit Anchlia w

Re: Client consumer question

2015-10-21 Thread Mohit Anchlia
never mind, I found the documentation On Wed, Oct 21, 2015 at 9:50 AM, Mohit Anchlia wrote: > Thanks. Where can I find new Java consumer API documentation with > examples? > > On Tue, Oct 20, 2015 at 6:37 PM, Guozhang Wang wrote: > >> There are a bunch of new features added in 0.9 plus quite a

Re: Client consumer question

2015-10-21 Thread Mohit Anchlia
Thanks. Where can I find new Java consumer API documentation with examples? On Tue, Oct 20, 2015 at 6:37 PM, Guozhang Wang wrote: > There are a bunch of new features added in 0.9 plus quite a lot of bug > fixes as well, a complete ticket list can be found here: > > > https://issues.apache.org/j

Re: Client consumer question

2015-10-20 Thread Guozhang Wang
There are a bunch of new features added in 0.9 plus quite a lot of bug fixes as well, a complete ticket list can be found here: https://issues.apache.org/jira/browse/KAFKA-1686?jql=project%20%3D%20KAFKA%20AND%20fixVersion%20%3D%200.9.0.0%20ORDER%20BY%20updated%20DESC In a short summary of the new

Re: Client consumer question

2015-10-20 Thread Mohit Anchlia
Thanks. Are there any other major changes in .9 release other than the Consumer changes. Should I wait for .9 or go ahead and performance test with .8? On Tue, Oct 20, 2015 at 3:54 PM, Guozhang Wang wrote: > We will have a release document for that on the release date, it is not > complete yet.

Re: Client consumer question

2015-10-20 Thread Guozhang Wang
We will have a release document for that on the release date, it is not complete yet. Guozhang On Tue, Oct 20, 2015 at 3:18 PM, Mohit Anchlia wrote: > Is there a wiki page where I can find all the major design changes in > 0.9.0? > > On Mon, Oct 19, 2015 at 4:24 PM, Guozhang Wang wrote: > > >

Re: Client consumer question

2015-10-20 Thread Mohit Anchlia
Is there a wiki page where I can find all the major design changes in 0.9.0? On Mon, Oct 19, 2015 at 4:24 PM, Guozhang Wang wrote: > It is not released yet, we are shooting for Nov. for 0.9.0. > > Guozhang > > On Mon, Oct 19, 2015 at 4:08 PM, Mohit Anchlia > wrote: > > > Is 0.9.0 still under de

Re: Client consumer question

2015-10-19 Thread Guozhang Wang
It is not released yet, we are shooting for Nov. for 0.9.0. Guozhang On Mon, Oct 19, 2015 at 4:08 PM, Mohit Anchlia wrote: > Is 0.9.0 still under development? I don't see it here: > http://kafka.apache.org/downloads.html > > On Mon, Oct 19, 2015 at 4:05 PM, Guozhang Wang wrote: > > > The links

Re: Client consumer question

2015-10-19 Thread Mohit Anchlia
Is 0.9.0 still under development? I don't see it here: http://kafka.apache.org/downloads.html On Mon, Oct 19, 2015 at 4:05 PM, Guozhang Wang wrote: > The links you are referring are for the old consumer. > > If you are using the ZooKeeper based high-level version of the old consumer > which is d

Re: Client consumer question

2015-10-19 Thread Guozhang Wang
The links you are referring are for the old consumer. If you are using the ZooKeeper based high-level version of the old consumer which is described in the second link, then failures are handled and abstracted from you so that if there is a failure in the current process, its fetching partitions w

Re: Client consumer question

2015-10-19 Thread Mohit Anchlia
By old consumer you mean version < .8? Here are the links: https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Example https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example On Mon, Oct 19, 2015 at 12:52 PM, Guozhang Wang wrote: > Hi Mohit, > > Are you refe

Re: Client consumer question

2015-10-19 Thread Guozhang Wang
Hi Mohit, Are you referring to the new Java consumer or the old consumer? Or more specifically what examples doc are you referring to? Guozhang On Mon, Oct 19, 2015 at 10:01 AM, Mohit Anchlia wrote: > I see most of the consumer examples create a while/for loop and then fetch > messages iterati

Client consumer question

2015-10-19 Thread Mohit Anchlia
I see most of the consumer examples create a while/for loop and then fetch messages iteratively. Is that the only way by which clients can consumer messages? If this is the preferred way then how do you deal with failures, exceptions such that messages are not lost. Also, please point me to exampl