Kafka, mail # user - Re: How do you keep track of offset in a partition - 2013-01-29, 01:27
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: How do you keep track of offset in a partition
Jamie,

You need to use the getOffsetsBefore() API to get the earliest/latest
offset available on the broker for a particular partition.

Thanks,
Neha
On Mon, Jan 28, 2013 at 5:05 PM, Jamie Wang <[EMAIL PROTECTED]> wrote:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB