Taylor,

If you request an offset whose corresponding log file has been deleted, you
will get OutOfRange exception. When this happens, you can use the
getLatestOffset api in SimpleConsumer to obtain either the current valid
smallest or largest offset and reconsume from there. Our high level
consumer does that for you (among many other things). That's why we
encourage most users to use the high level api instead.

Thanks,

Jun

Reply via email to