python-consul
python-consul copied to clipboard
Python client for Consul (http://www.consul.io/)
+ /usr/bin/python3.6 setup.py test running test running egg_info writing python_consul.egg-info/PKG-INFO writing dependency_links to python_consul.egg-info/dependency_links.txt writing requirements to python_consul.egg-info/requires.txt writing top-level names to python_consul.egg-info/top_level.txt reading manifest file 'python_consul.egg-info/SOURCES.txt' reading manifest template...
The methods under `Consul.Session` do not work on a system with ACLs enabled and the default ACL policy is `deny`. This happens even if the token is set in `consul.Consul()`...
I have notice that you not push commit 56b5ea3 as a new python package, python-consul is still stay at v1.1.0, can you please fix it?
consul supports grpc health check, however I could find grpc in python-consul's docs. Could you please implement the grpc health check type?
The `consul.Consul` constructor accepts parameter `verify`, which is subsequently passed in `requests.get` calls. This is documented as "*verify* is whether to verify the SSL certificate for HTTPS requests". This caused...
def deregister(self, service_id): """Deregister the service from the local agent. The agent will take care of deregistering the service with the Catalog. If there is an associated check, that is...
There are several Environment Variables supported by the Consul CLI that would be useful to support. https://www.consul.io/docs/commands/index.html#environment-variables - CONSUL_HTTP_AUTH - CONSUL_CACERT - CONSUL_CAPATH - CONSUL_CLIENT_CERT - CONSUL_CLIENT_KEY - CONSUL_TLS_SERVER_NAME
I tried below code and saw memory usage keep increasing with 3 conditions combined: 1. twisted consul api 2. connect to consul using HTTPS, memory leak didn't happen if HTTP....
https://github.com/cablehead/python-consul/blob/4ddec9b57eb5284b58967ce1a9b2422519f88cc2/consul/aio.py#L58 ```/home/dnugent/code/tiq/code/compiled/tiq-python/lib/python3.6/site-packages/consul/aio.py:58: RuntimeWarning: coroutine 'ClientSession.close' was never awaited self._session.close() ``` Getting this error when my process ends.
when i want check the health service i have register in consul,which way should i use ?i am confused about the two ways above? and what's the diff between them?