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

consul watch key behavious same as event watch in terms of duplicate firing? #13

Open
mg03 opened this issue Jan 21, 2017 · 1 comment

Comments

@mg03
Copy link

mg03 commented Jan 21, 2017

qs:
1)
consul event watches fire repeatedly/duplicate
do consul watches on key also exhibit the same behaviour?

im using sifter its awesome ive made a fork of it and incorporated a couple of mods/additions
a) if consul local agent then use the agents token by default and only if not local then use anonymous token by default else use token provided on command line
b) add sending metrics to prometheus pushgateway

@darron
Copy link
Owner

darron commented Jan 21, 2017

Hey @mg03 - I haven't seen quite the same behavior from key watches that had from event watches firing multiple/duplicate times.

You should see it fire on restart/reload though - which is why I was still using it at times for that purpose.

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

No branches or pull requests

2 participants