Hi Brian, This is not directly available in 0.7 which does not have any producer acks. The closest I can think of right now is to issue offset requests after your producer send, but that would make sense if you only have one producer to that topic
0.8 which is under development has producer acks which does return the next append offsets. Joel On Wed, Aug 8, 2012 at 10:29 AM, Brian O'Neill <b...@alumni.brown.edu>wrote: > noob question: > What's the best way to determine the offset of the message I just > produced via the java api? > > -brian > > -- > Brian ONeill > Lead Architect, Health Market Science (http://healthmarketscience.com) > mobile:215.588.6024 > blog: http://weblogs.java.net/blog/boneill42/ > blog: http://brianoneill.blogspot.com/ >