Kafka, mail # user - Re: SimpleConsumer - Should FetchRequests span log segments? - 2013-06-29, 15:43
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: SimpleConsumer - Should FetchRequests span log segments?
When you iterate the fetch result, MessageAndOffset has a nextOffet()
method. You need to use that offset to initiate the next fetch request. See
https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Examplefor
an example.

Thanks,

Jun
On Fri, Jun 28, 2013 at 9:53 PM, Ran RanUser <[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