vertx / io.vertx.reactivex.ext.consul / ConsulClient / healthServiceNodesWithOptions

healthServiceNodesWithOptions

open fun healthServiceNodesWithOptions(service: String, passing: Boolean, options: ServiceQueryOptions, resultHandler: Handler<AsyncResult<ServiceEntryList>>): ConsulClient

Returns the nodes providing the service. This endpoint is very similar to the io.vertx.reactivex.ext.consul.ConsulClient#catalogServiceNodesWithOptions endpoint; however, this endpoint automatically returns the status of the associated health check as well as any system level health checks.

Parameters

service - the service name

passing - if true, filter results to only nodes with all checks in the passing state

options - options used to request services

resultHandler - will be provided with list of services

Return
reference to this, for fluency