consul-api
consul-api copied to clipboard
The error for trying put value in KV store
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);