kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neha Narkhede <neha.narkh...@gmail.com>
Subject Re: SimpleConsumer and message offsets
Date Wed, 29 May 2013 20:01:09 GMT
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 <arathimaddula@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message