Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not use Consul KV to store tags and attributes? #175

Open
peebles opened this issue May 11, 2015 · 3 comments
Open

Why not use Consul KV to store tags and attributes? #175

peebles opened this issue May 11, 2015 · 3 comments

Comments

@peebles
Copy link

peebles commented May 11, 2015

I thing the idea of service attributes is good. Sometimes I want to associate more than an IP address and port with a service; I might want to store other attributes that are needed to gain access to that service. I still want the DNS functionality of Consul, so I cannot use the "consulkv" backend exclusively. Why not store the service attributes in a "parallel" location in the KV hierarchy? Or, is service attributes something already on the Consul/Etcd roadmap?

@dsouzajude
Copy link
Contributor

I'd like that as well. It seems logical to have something like that.

@progrium
Copy link
Contributor

Service attributes I believe were on the Consul roadmap. But not entirely sure. That also doesn't solve the problem for etcd. I think using KV for other attributes is a reasonable thing to do in a future release.

@ahus1
Copy link

ahus1 commented Sep 26, 2015

Consul supports service tags. They have been around for some time (hashicorp/consul#26). Consul's documentation for services gives some information about this.

Attributes are disussed here hashicorp/consul#1107.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants