ClusterMetadata class

Stores metadata information about cluster including available brokers and topics.

Constructors

ClusterMetadata(List<Broker> brokers, List<TopicMetadata> topics)
Creates new instance of cluster metadata.

Properties

brokers List<Broker>
List of brokers in the cluster.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topics List<TopicMetadata>
List with metadata for each topic.
final

Methods

getBroker(int nodeId) Broker
Returns Broker by specified nodeId.
getTopicMetadata(String topicName) TopicMetadata
Returns TopicMetadata for specified topicName.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited