Class ClusterMetadata
- java.lang.Object
-
- org.apache.flink.connector.kafka.dynamic.metadata.ClusterMetadata
-
- All Implemented Interfaces:
Serializable
@Experimental public class ClusterMetadata extends Object implements Serializable
ClusterMetadataprovides readers information about a cluster on what topics to read and how to connect to a cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterMetadata(Set<String> topics, Properties properties)Constructs theClusterMetadatawith the required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PropertiesgetProperties()Get the properties.Set<String>getTopics()Get the topics.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ClusterMetadata
public ClusterMetadata(Set<String> topics, Properties properties)
Constructs theClusterMetadatawith the required properties.- Parameters:
topics- the topics belonging to a cluster.properties- the properties to access a cluster.
-
-
Method Detail
-
getProperties
public Properties getProperties()
Get the properties.- Returns:
- the properties.
-
-