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

Switch to Threaded View
Kafka >> mail # user >> How to disable autooffset.reset

Copy link to this message
Re: How to disable autooffset.reset
You don't need to disable it - autooffset.reset is only used in two cases:
- for the very first time the consumer is started (so there is no offset
registered in ZK)
- the registered offset is invalid

In all other cases it resumes from the last committed offset.



On Tue, Jul 3, 2012 at 6:00 AM, Aaron Rankin <[EMAIL PROTECTED]> wrote:

> Hi,
> It appears that the "autooffset.reset" parameter must be "smallest" or
> "largest". How can you disable this feature so as to start from the last
> committed offset instead of smallest or largest?
> Thanks,
> Aaron