You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Auduru Suresh <as...@gmail.com> on 2016/08/10 17:34:49 UTC

Kafka consumer

Hi ,

We've wrote kafka consumer and for each restart it is reading messages from
starting of partition . Please help me how we can make it read from last
offset.
Also, please subscribe me to the forum.

Thanks, Suresh

Re: Kafka consumer

Posted by "Matthias J. Sax" <ma...@confluent.io>.
You need to commit messages either manually or enable auto commit via
"auto.commit.enable = true".

-Matthias


On 08/10/2016 07:34 PM, Auduru Suresh wrote:
> Hi ,
> 
> We've wrote kafka consumer and for each restart it is reading messages from
> starting of partition . Please help me how we can make it read from last
> offset.
> Also, please subscribe me to the forum.
> 
> Thanks, Suresh
>