Nalin,

The most recent offset points to the tail of the log and is the offset for
the next message coming into Kafka. Currently, there is no easy way to get
the offset of the last message. Could you explain your use case a bit?

Thanks,

Jun

On Sun, Oct 16, 2011 at 5:05 PM, Nalin DeZoysa <ndezo...@tagged.com> wrote:

> Hi,
>
> I'm having the problem where if I try and fetch a topic from the most
> recent
> offset, it doesn't work. I have to put the second most recent offset to
> receive (only) the most recent offset. If this is the expected behavior,
> whats the best way to fetch the most recent offset?
>
> Thanks,
> Nalin
>

Reply via email to