Kafka, mail # user - Re: Question about function SimpleConsumer.getOffsetsBefore - 2013-02-26, 01:25
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Question about function SimpleConsumer.getOffsetsBefore
The value of maxNumOffsets depends on what you are trying to accomplish. In
most cases, this value is 1. For a value > 1, it gives you the first offset
of the segments since the segment that matched your offset query. Even if
you set a very high value, it will not have those many segments and hence
the response will be limited and should not take long.

Thanks,
Neha
On Mon, Feb 25, 2013 at 12:31 PM, Sining Ma <[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