If main advantage of SimpleConsumer is so that you can have finer level
control on the offset management. So you have to keep track of offsets. If
you don't care about offset management, you can use the
ZookeeperConsumerConnector.

Thanks,
Neha


On Wed, May 29, 2013 at 11:50 AM, arathi maddula <arathimadd...@gmail.com>wrote:

> Hi,
> Iam using a program which reads data from  a stream using SimpleConsumer.
> Is there a way for SimpleConsumer to remember the last offset read? I want
> the program to continue from the last offset read when it is restarted.
> Thanks in advance.
>
> -Arathi
>

Reply via email to