Package org.apache.kafka.clients.admin
Class DescribeClusterResult
java.lang.Object
org.apache.kafka.clients.admin.DescribeClusterResult
The result of the
Admin.describeCluster()
call.-
Method Summary
Modifier and TypeMethodDescriptionReturns a future which yields authorized operations.Returns a future which yields the current cluster id.Returns a future which yields the current controller node.nodes()
Returns a future which yields a collection of nodes.
-
Method Details
-
nodes
Returns a future which yields a collection of nodes. -
controller
Returns a future which yields the current controller node.When using
AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG
, the controller refer to a random broker. When usingAdminClientConfig.BOOTSTRAP_CONTROLLERS_CONFIG
, it refers to the current voter leader. -
clusterId
Returns a future which yields the current cluster id. -
authorizedOperations
Returns a future which yields authorized operations. The future value will be non-null if the broker supplied this information, and null otherwise.
-