Kafka, mail # dev - Initializing fetch offsets - 2013-02-21, 02:32
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Plain View
Copy link to this message
-
Initializing fetch offsets
Is there currently a way to get the latest offset (or close to the
latest) for a partition? Is this covered by the Offset API, and if so
could someone explain this API a bit?

I'd like to write a consumer that can start from 0 (like unix cat) or
start from the most recent (like unix tail).

Thanks!
-David

 
+
Neha Narkhede 2013-02-21, 05:13
+
David Arthur 2013-02-21, 13:04
+
Colin Blower 2013-02-21, 16:54
+
Neha Narkhede 2013-02-21, 20:40
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