Vinicius Carvalho 2013-07-15, 14:48
Hi there, from the docs:
"Time: Used to ask for all messages before a certain time (ms). There are
two special values. Specify -1 to receive the latest offset (this will only
ever return one offset). Specify -2 to receive the earliest available
But when I send -1 as an offsetrequest I get this back:
There are 6 messages on that topic, shouldn't -1 as a time only return one
offset on the response? Any other value that I send on request, I only get
Offset: 0 as a response.
My understanding of the parameter is that -1 would fetch the latest offset
available for consumption, this topic had no message consumed so far, so
shouldn't it always return 0?
The intuitive mind is a sacred gift and the
rational mind is a faithful servant. We have
created a society that honors the servant and
has forgotten the gift.