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 <wangg...@gmail.com> wrote:

> 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 <mohitanch...@gmail.com>
> wrote:
>
> > 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 examples that one would consider as a robust way
> > of coding consumers.
> >
>
>
>
> --
> -- Guozhang
>

Reply via email to