Interface KafkaMetadataService
- All Superinterfaces:
AutoCloseable,Serializable
- All Known Implementing Classes:
SingleClusterTopicMetadataService
Metadata service that returns Kafka details.
-
Method Summary
Modifier and TypeMethodDescriptiondescribeStreams(Collection<String> streamIds) Get current metadata for queried streams.Get current metadata for all streams.booleanisClusterActive(String kafkaClusterId) Check if the cluster is active.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getAllStreams
Set<KafkaStream> getAllStreams()Get current metadata for all streams.- Returns:
- set of all streams
-
describeStreams
Get current metadata for queried streams.- Parameters:
streamIds- stream full names- Returns:
- map of stream name to metadata
-
isClusterActive
Check if the cluster is active.- Parameters:
kafkaClusterId- Kafka cluster id- Returns:
- boolean whether the cluster is active
-