open static fun service(service: String, vertx: Vertx): Watch<ServiceEntryList>
Creates Watch to monitoring the nodes providing the service. The underlying Consul client will be created with default options. This maps to the /v1/health/service/<service> API internally.
Return
the Watch instance
open static fun service(service: String, vertx: Vertx, options: ConsulClientOptions): Watch<ServiceEntryList>
Creates Watch to monitoring the nodes providing the service. This maps to the /v1/health/service/<service> API internally.
options - the options to create underlying Consul client
Return
the Watch instance