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

The error for trying put value in KV store

Open nippygalaxy opened this issue 3 years ago • 1 comments

nippygalaxy avatar Sep 19 '22 09:09 nippygalaxy

need more info about your issue but I had an issue with having a key starting with /

does not work:

ConsulClient consulClient = new ConsulClient("127.0.0.1");
consulClient.setKVValue("/my/key, value);

works:

ConsulClient consulClient = new ConsulClient("127.0.0.1");
consulClient.setKVValue("my/key, value);

resmo avatar Sep 09 '23 11:09 resmo