@Experimental public class ClusterMetadata extends Object implements Serializable
ClusterMetadata provides readers information about a cluster on what topics to read and
how to connect to a cluster.| Constructor and Description |
|---|
ClusterMetadata(Set<String> topics,
Properties properties)
Constructs the
ClusterMetadata with the required properties. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Properties |
getProperties()
Get the properties.
|
Set<String> |
getTopics()
Get the topics.
|
int |
hashCode() |
String |
toString() |
public ClusterMetadata(Set<String> topics, Properties properties)
ClusterMetadata with the required properties.topics - the topics belonging to a cluster.properties - the properties to access a cluster.public Properties getProperties()
Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.