python-consul icon indicating copy to clipboard operation
python-consul copied to clipboard

Documentation should be updated to note `host=` does not override which destination cluster(s) data ends-up on

Open e1nh4nd3r opened this issue 6 years ago • 0 comments

Hello,

I've probably misread the documentation, but it appears the host= parameter to the consul.Consul() class is very misleading. In my current environment, I have 4 separate Consul clusters I need to add/update KV information in. I attempted to use python-consul to update these, not knowing that the library is effectively an API/abstraction of the local consul agent. When attempting to debug, it was not clear to me that the client was connecting to the local agent instead of the intended hostnames and/or FQDNs.

Documentation should be updated to reflect this more clearly and should indicate that host= is not intended to point to a remote consul server or cluster. Thank you.

e1nh4nd3r avatar Dec 11 '19 14:12 e1nh4nd3r