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:00:48 GMT
hmmm, that should be the "offset to fetch from", not sure why the variable
is called "time" =8^/  unless I am looking at something else from what you
are asking but this I think (another dev please confirm or explain why it
is time).

case class PartitionOffsetRequestInfo(time: Long, maxNumOffsets: Int)

should be

case class PartitionOffsetRequestInfo(offsetToFetchFrom: Long,
maxNumOffsets: Int)

which matches the Fetch API we have documented

 Joe Stein
 Founder, Principal Consultant
 Big Data Open Source Security LLC
 Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>

On Tue, Jan 7, 2014 at 11: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

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