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

peersStatus

open fun peersStatus(resultHandler: Handler<AsyncResult<MutableList<String>>>): ConsulClient

Retrieves the Raft peers for the datacenter in which the the agent is running. It returns a list of addresses "10.1.10.12:8300", "10.1.10.13:8300"

Parameters

resultHandler - will be provided with list of peers

Return
reference to this, for fluency