Hi, we're using consulator to populate KV store via YAML files and it works perfectly.
The other part of our deployment tooling is consul-template
We're listening for KV updates and doing some actions on update event.
What is happening is that if we want to change multiple values in KV using consulator we are noticing "double" actions by consul-template since the values and keys are updated one at a time multiple events are received.
Luckily Consul supports transactions which I beleive should address our "issue".
Unfortunately I do not have Golang experience at all so I cannot try to write and extend consulator features.
Do you think this would be interesting for you to think about adding as another cli flag maybe?
Hi, we're using consulator to populate KV store via YAML files and it works perfectly.
The other part of our deployment tooling is consul-template We're listening for KV updates and doing some actions on update event.
What is happening is that if we want to change multiple values in KV using consulator we are noticing "double" actions by consul-template since the values and keys are updated one at a time multiple events are received.
Luckily Consul supports transactions which I beleive should address our "issue".
Unfortunately I do not have Golang experience at all so I cannot try to write and extend consulator features.
Do you think this would be interesting for you to think about adding as another cli flag maybe?
Best, Marko