Home | About | Sematext search-lucene.com search-hadoop.com
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
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> bookkeeper client.readEntry() ?


+
Yang 2011-09-06, 15:14
Copy link to this message
-
Re: bookkeeper client.readEntry() ?
Hi Yang,

You can get the latest entry id using LedgerHandle#getLastAddConfirmed()

Its better to send Bookkeeper related questions to [EMAIL PROTECTED] as bookkeeper has moved out of zookeeper into a subproject now.

Regards
Ivan

On 6 Sep 2011, at 17:14, Yang wrote:

> readEntry() takes a param of entryId,
>
> but is there a way to tell the client to just receive the latest entries?
> i.e. treating the replicated log as a stream
>
> Thanks
> Yang
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