kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: OffsetOutOfRange Error
Date Wed, 05 Nov 2014 00:46:43 GMT
Hi Jim,

OffsetOutOfRange means that the partition's log offset range is [a, b] and
the requested offset is either < a or > b. It could be caused by log
truncation based on the retention policy while consumer fetching at the
same time.

Guozhang

On Tue, Nov 4, 2014 at 4:21 PM, Jimmy John <jimmyislive@gmail.com> wrote:

> Hello,
>
>     We are using kafka version 0.8.1 and the python kafka client.
> Everything has been working fine and suddenly this morning I saw
> a OffsetOutOfRange on one of the partitions. (We have 20 partitions in our
> kafka cluster)
>
>    We fixed it by seeking to the head offset and restarting the app.
>
>    But why would we get such an error during normal course of operations?
> isn't the offset a continually increasing number?
>
> thx
> Jim
>
> @jimmyislive
>



-- 
-- Guozhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message