consul-api
consul-api copied to clipboard
[Feature request] KeyValueClient support batch write using transaction
Currently, KeyValueClient support read and delete a directory by using 'recurse' parameter. However, it is not possible to write a directory, which is equivalent to write/set multiple keys at the same time. Can consul transaction be used for that purpose ?
Transactions HTTP API: https://www.consul.io/api/txn.html
Ref to this PR which has been requested a few month ago : https://github.com/Ecwid/consul-api/pull/198
Hi all! Any information about the status of this PR? Is it going to be merged anytime soon?