Closed aliartiza75 closed 5 years ago
This looks like something Kazoo needs to be updated to handle... ie, a valid bug due to a deprecation.
What version of Zookeeper is this?
My zookeeper version is 3.4.10-XXXXXXX
@jeffwidman waiting for your response.
This looks like a valid issue. However, since it's only a deprecation, I would expect kazoo
will continue to work. I don't have time right now to fix this, but I'm happy to review PR's if anyone else wants to tackle this.
@jeffwidman i am interested in it kindly guide me
It's pretty clearly documented in the Kazoo docs. You need to use a KazooRetry object instead of passing in an int. To accomplish that with your example, this should work:
from kazoo.retry import KazooRetry
retry = KazooRetry(max_tries=3
delay=5,
backoff=1)
zk_client = KazooClient(hosts=zk_addr, connection_retry=retry)
@jimbobhickville thank you
Hello everyone,
I am trying to connect to a zookeeper node(code given below):
But always got the following warning:
It says :
I don't understand warning message, need direction in this regards.
Thank you