Kafka, mail # user - Re: Consume from X messages ago - 2013-03-19, 15:17
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
Re: Consume from X messages ago
Using the Offsets API, you can get the latest offset by setting time to
-1. Then you subtract 10000

There is no guarantee that 10k prior messages exist of course, so you'd
need to handle that case.


On 3/19/13 11:04 AM, James Englert 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