kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Koshy <jjkosh...@gmail.com>
Subject Re: Determining offset of last produce?
Date Wed, 08 Aug 2012 18:15:11 GMT
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.


On Wed, Aug 8, 2012 at 10:29 AM, Brian O'Neill <bone@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/

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