@Experimental public class KafkaStream extends Object implements Serializable
| Constructor and Description |
|---|
KafkaStream(String streamId,
Map<String,ClusterMetadata> clusterMetadataMap)
Construct a
KafkaStream by passing Kafka information in order to connect to the
stream. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,ClusterMetadata> |
getClusterMetadataMap()
Get the metadata to connect to the various cluster(s).
|
String |
getStreamId()
Get the stream id.
|
int |
hashCode() |
String |
toString() |
public KafkaStream(String streamId, Map<String,ClusterMetadata> clusterMetadataMap)
KafkaStream by passing Kafka information in order to connect to the
stream.streamId - the stream id.clusterMetadataMap - the map of clusters to ClusterMetadata to connect to the
stream.public String getStreamId()
public Map<String,ClusterMetadata> getClusterMetadataMap()
Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.