Assuming there is no concurrent producers on the same topic, this will work. How does the consumer get the offset?
Thanks, Jun On Mon, Oct 17, 2011 at 9:42 AM, Nalin DeZoysa <ndezo...@tagged.com> wrote: > Hi Jun, > > The use case is as follows. Before publishing a message to a topic, I > request for the latest offset. Then I publish a message. Then I subscribe > to > the topic starting from the latest offset that I obtained before I > published > the most recent message. Shouldn't this allow me to obtain the most recent > message? > > > Thanks, > Nalin >