Class MetadataConsumer

java.lang.Object
ai.superstream.core.MetadataConsumer

public class MetadataConsumer extends Object
Consumes messages from the superstream.metadata_v1 topic.
  • 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