Package ai.superstream.core
Class MetadataConsumer
java.lang.Object
ai.superstream.core.MetadataConsumer
Consumes messages from the superstream.metadata_v1 topic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMetadataMessage(String bootstrapServers, Properties originalClientProperties) Get the metadata message from the Kafka cluster.
-
Constructor Details
-
MetadataConsumer
public MetadataConsumer()
-
-
Method Details
-
getMetadataMessage
public MetadataMessage getMetadataMessage(String bootstrapServers, Properties originalClientProperties) Get the metadata message from the Kafka cluster.- Parameters:
bootstrapServers- The Kafka bootstrap servers- Returns:
- The metadata message, or null if there was an error
-