kazoo
kazoo copied to clipboard
Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
## Why is this needed? Do not use the session timeout as connection timeout. This value is too large and results in a bad non-responsive server holding up the client...
## Why is this needed? CI currently does not exercise packaging for pypi. ## Proposed Changes - Add a github actions workflow to test packaging (except for a pypi publish)...
kazoo version: 2.6.1 python version : 3.6.6 zkservice.register_datawatch("/zookeeper/config", function) zkservice.remove_datawatch("/zookeeper/config") zkservice.zkclient.close() #timeout /zookeeper/config can't be datawatch?
More details here: https://bugs.launchpad.net/python-tooz/+bug/1512001
File "/usr/local/lib/python2.7/dist-packages/kazoo/client.py", line 978, in get return self.get_async(path, watch).get() File "/usr/local/lib/python2.7/dist-packages/gevent/event.py", line 214, in get result = get_hub().switch() File "/usr/local/lib/python2.7/dist-packages/gevent/hub.py", line 135, in get_hub raise NotImplementedError('gevent is only usable from...
hi, all I am try to use kazoo with SequentialGeventHandler in an interactive way(ipython). Here is the command: In [1]: from kazoo.client import KazooClient In [2]: from kazoo.handlers.gevent import SequentialGeventHandler...
Hello, Could you add integration with Tornado i.e. implement a proper handler? I'm writting an application that is based on Tornado. I also use fork in my process. Kazoo thread...
Hi, When I call cancel(), run() will not return until all the previous leaders exited. However, my understanding is that run() will return immediately when cancel get called. Am I...
Fixes #754 ## Why is this needed? Supports SNI ## Proposed Changes Add server_hostname to the wrap call ## Does this PR introduce any breaking change? No
## What would you like to be added Send the SNI header with TLS connections. ## Why is this needed Currently when connecting to TLS hosts, only the IP is...