consul-api icon indicating copy to clipboard operation
consul-api copied to clipboard

[Feature request] KeyValueClient support batch write using transaction

Open GuangmingLuo opened this issue 6 years ago • 2 comments

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

GuangmingLuo avatar Jan 09 '20 08:01 GuangmingLuo

Ref to this PR which has been requested a few month ago : https://github.com/Ecwid/consul-api/pull/198

GuangmingLuo avatar Jan 09 '20 08:01 GuangmingLuo

Hi all! Any information about the status of this PR? Is it going to be merged anytime soon?

genossa avatar Jan 27 '20 21:01 genossa