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

healthServiceNodes

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

Returns the nodes providing the service. This endpoint is very similar to the io.vertx.reactivex.ext.consul.ConsulClient#catalogServiceNodes 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

resultHandler - will be provided with list of services

Return
reference to this, for fluency