Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> SimpleConsumer and message offsets

Copy link to this message
Re: SimpleConsumer and message offsets
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

On Wed, May 29, 2013 at 11:50 AM, arathi maddula <[EMAIL PROTECTED]>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