Class ClusterResource
java.lang.Object
org.apache.kafka.common.ClusterResource
The
ClusterResource class encapsulates metadata for a Kafka cluster.Constructor Summary
ConstructorsMethod Summary
Constructor Details
ClusterResource
CreateClusterResourcewith a cluster id. Note that cluster id may benullif the metadata request was sent to a broker without support for cluster ids.- Parameters:
clusterId- The cluster id
Method Details
clusterId
Return the cluster id. Note that it may benullif the metadata request was sent to a broker without support for cluster ids.toString
equals
hashCode