kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: PartitionOffsetRequestInfo only supports -1 and -2?
Date Tue, 07 Jan 2014 17:10:23 GMT
You can provide an arbitrary timestamp. However, the answer is not going to
be exact. The broker only returns the offset of the first message in a log
segment file whose last modified time is less than the provided timestamp.

Thanks,

Jun


On Tue, Jan 7, 2014 at 8:31 AM, Calvin Lei <ckplei@gmail.com> wrote:

> Does it support an long timestamp? Tried it and the resulting offset
> response contains an empty long array.
>
>
>
>
>
> --
> Sent from Gmail Mobile
>

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