Kafka, mail # user - Re: kafka.common.OffsetOutOfRangeException - 2013-03-14, 15:03
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: kafka.common.OffsetOutOfRangeException
Thanks Jun,

I don't mean to be obtuse, but could you please provide an example? Which file should I determine size for?

Thanks,

Chris

From: "Jun Rao" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2013 12:18:31 AM
Subject: Re: kafka.common.OffsetOutOfRangeException

Chris,

The last offset can be calculated by adding the file size to the name of
the last Kafka segment file. Then you can see if your offset is in the
range.

Thanks,

Jun

On Wed, Mar 13, 2013 at 2:53 PM, Christopher Alexander <
[EMAIL PROTECTED]> wrote:
 
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