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 <jun...@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 <ckp...@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
> >
>

Reply via email to