Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - bookkeeper client.readEntry() ?


Copy link to this message
-
Re: bookkeeper client.readEntry() ?
Ivan Kelly 2011-09-06, 16:24
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