-Re: Something about zkclient
nileader 2011-10-19, 23:57
Nice to hear from you. C.
So, why tricky. In zk's original api, if you add an error authInfo, then you
will receive en exception of NoAuth. Then user's operation will be fail.
2011/10/19 Camille Fournier <[EMAIL PROTECTED]>
> The author never implemented it, you'll have to modify the source and add
> yourself. It's a bit tricky because the call will always succeed
> even if the auth actually fails, I recommend doing a simple synchronou
> exists call immediately after to force the error to flush through if there
> is one.
> From my phone
> On Oct 18, 2011 10:23 PM, "nileader" <[EMAIL PROTECTED]> wrote:
> > hi, everyone.
> > Any one who use https://github.com/sgroschupf/zkclient this.
> > In zk original api, there is api: zk.addAuthInfo(authentication_
> > type, correctAuthentication.getBytes());
> > but in https://github.com/sgroschupf/zkclient, no.
> > who can tell me why?
> > or who know the author of the zkclient.