You can use the getOffsetBefore api. Take a look at
https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Example
Thanks,
Jun
On Thu, Mar 6, 2014 at 3:09 PM, Hema Bhatia wrote:
> Hi,
>
> Is there a way to get the start offset of messages present at current
> point in kafka br
Hi,
Is there a way to get the start offset of messages present at current point in
kafka broker, given the topic and partition. I am using high-level consumer,
and I want to replay messages from a given offset. I am using replication
factor 1 and single partition, and I am using high level cons