open static fun key(key: String, vertx: Vertx): Watch<KeyValue>
Creates Watch to monitoring a specific key in the KV store. The underlying Consul client will be created with default options. This maps to the /v1/kv/ API internally.
Return
the Watch instance
open static fun key(key: String, vertx: Vertx, options: ConsulClientOptions): Watch<KeyValue>
Creates Watch to monitoring a specific key in the KV store. This maps to the /v1/kv/ API internally.
options - the options to create underlying Consul client
Return
the Watch instance