You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/12/26 21:23:34 UTC

[GitHub] [bookkeeper] eolivelli commented on issue #2223: Which method is recommended in BookKeeper

eolivelli commented on issue #2223:   Which method is recommended in BookKeeper
URL: https://github.com/apache/bookkeeper/issues/2223#issuecomment-569135793
 
 
   We are deprecating those methods for two reasons:
   - BK client create its own zk client and the built-in one handles session expire automatically (you have to recreate the zk handle and do some stuff in case of session expire event)
   - we are trying to not depend on zk any more, infact now we have two metadata providers zookeeper and etcd (partially implemented)
   
   Reason 1) is the most important in my opinion.
   It makes sense to re use an existing zk client only in case of short lived operations

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services