-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add an agent API to manage watches #1918
Comments
I would actually very much support this. |
I would find this useful as it is very hacky to implement a workaround. My micro-service not only has to know where the consul url is but now a path to the executable just to run a consul watch command that invokes powershell that invokes a webrequest that my controller uses to reload settings. More painful since consul.exe must either be added to the path of each environment or relative to each consuming service. |
I vote for this feature as well. We have an HTTP endpoint listening for "watch" events implemented as a part of our service. Having to register a watch via agent's configuration files isn't that handy since services tend to go up and down. It would be nice to have either:
Personally, I prefer #3. Imagenary config with two new attributes: service, broadcast, and path starting with /: "handler_type": "http",
"http_handler_config": {
"service":"my_service",
"broadcast":"true",
"path":"/watch",
"method": "POST"
} |
cool feature, plz think about this. |
This feature will be helpful. |
So, does version 1.8.5 support this new feature? |
Capturing this after the discussion here - https://groups.google.com/d/msgid/consul-tool/01b167e3-be26-4bcb-ba61-0836bcd1e3c6%40googlegroups.com?utm_medium=email&utm_source=footer.
The text was updated successfully, but these errors were encountered: