Class KafkaStream
java.lang.Object
org.apache.flink.connector.kafka.dynamic.metadata.KafkaStream
- All Implemented Interfaces:
Serializable
Kafka stream represents multiple topics over multiple Kafka clusters and this class encapsulates
all the necessary information to initiate Kafka consumers to read a stream.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaStream(String streamId, Map<String, ClusterMetadata> clusterMetadataMap) Construct aKafkaStreamby passing Kafka information in order to connect to the stream. -
Method Summary
-
Constructor Details
-
KafkaStream
Construct aKafkaStreamby passing Kafka information in order to connect to the stream.- Parameters:
streamId- the stream id.clusterMetadataMap- the map of clusters toClusterMetadatato connect to the stream.
-
-
Method Details
-
getStreamId
Get the stream id.- Returns:
- the stream id.
-
getClusterMetadataMap
Get the metadata to connect to the various cluster(s).- Returns:
- the cluster metadata map.
-
toString
-
equals
-
hashCode
public int hashCode()
-