Kafka, mail # user - Re: OffsetOutOfRangeException with 0 retention - 2013-03-11, 15:54
 Search Hadoop and all its subprojects:

Switch to Plain View
+
Nicolas Berthet 2013-03-11, 09:13
Copy link to this message
-
Re: OffsetOutOfRangeException with 0 retention
Nicolas,

It seems that you started a consumer from the earliest offset, then shut it
down for a long time, and tried restarting it again. At this time, you will
see OffsetOutOfRange exceptions, since the offset that your consumer is
trying to fetch has been garbage collected from the server (due to it being
too old). If you are using the high level consumer
(ZookeeperConsumerConnector), the consumer will automatically  reset the
offset to the earliest or latest depending on the autooffset.reset config
value.

Which consumer are you using in this test ?

Thanks,
Neha
On Mon, Mar 11, 2013 at 2:12 AM, Nicolas Berthet
<[EMAIL PROTECTED]>wrote:
 
+
Nicolas Berthet 2013-03-12, 01:35
+
Neha Narkhede 2013-03-13, 01:19
+
Nicolas Berthet 2013-03-14, 02:59
+
Neha Narkhede 2013-03-14, 15:05
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