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