How to atomically update multiple kv entries with consul? -


let's assume have following key value pairs imported consul:

curl -x put -d 'val1' http://localhost:8500/v1/kv/stuff/key1 curl -x put -d 'val2' http://localhost:8500/v1/kv/stuff/key2 curl -x put -d 'val3' http://localhost:8500/v1/kv/stuff/key3 

i possible atomically update them together?

the reason asking use consule configuration management , not won't depending key value pairs partially updated , in inconsistent state.

it's not possible right now. there's open github issue tracks this.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -