consulator icon indicating copy to clipboard operation
consulator copied to clipboard

Transactions endpoint for populating KV store

Open cloudplumber2000 opened this issue 1 year ago • 1 comments

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

cloudplumber2000 avatar Jul 07 '23 14:07 cloudplumber2000

The issue is on consul-template side actually. Reported here: https://github.com/hashicorp/consul-template/issues/1814

markotitel avatar Sep 28 '23 05:09 markotitel