Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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.

Thanks,

Joel

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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB