@Evolving public class DescribeClusterResult extends java.lang.Object
AdminClient.describeCluster()
call.
The API of this class is evolving, see AdminClient
for details.Modifier and Type | Method | Description |
---|---|---|
KafkaFuture<java.lang.String> |
clusterId() |
Returns a future which yields the current cluster id.
|
KafkaFuture<Node> |
controller() |
Returns a future which yields the current controller id.
|
KafkaFuture<java.util.Collection<Node>> |
nodes() |
Returns a future which yields a collection of nodes.
|
public KafkaFuture<java.util.Collection<Node>> nodes()
public KafkaFuture<Node> controller()
public KafkaFuture<java.lang.String> clusterId()