kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <joe.st...@stealth.ly>
Subject Re: PartitionOffsetRequestInfo only supports -1 and -2?
Date Tue, 07 Jan 2014 17:52:43 GMT
my bad, I was look at the fetch api instead of the offset api =8^/ ignore
my response about time being the wrong variable, its right  for the offset
API
https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-OffsetAPI:)

thanks Jun!


On Tue, Jan 7, 2014 at 12:10 PM, Jun Rao <junrao@gmail.com> wrote:

> 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