Ecwid / consul-api

Java client for Consul HTTP API
Apache License 2.0
416 stars 177 forks source link

[Feature request] KeyValueClient support batch write using transaction #203

Open GuangmingLuo opened 4 years ago

GuangmingLuo commented 4 years ago

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 commented 4 years ago

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

genossa commented 4 years ago

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