Class SingleClusterTopicMetadataService

    • Constructor Detail

      • SingleClusterTopicMetadataService

        public SingleClusterTopicMetadataService​(String kafkaClusterId,
                                                 Properties properties)
        Parameters:
        kafkaClusterId - the id of the Kafka cluster.
        properties - the properties of the Kafka cluster.
      • SingleClusterTopicMetadataService

        public SingleClusterTopicMetadataService​(String kafkaClusterId,
                                                 Properties properties,
                                                 @Nullable
                                                 OffsetsInitializer startingOffsetsInitializer,
                                                 @Nullable
                                                 OffsetsInitializer stoppingOffsetsInitializer)
        Create a SingleClusterTopicMetadataService with per-cluster offsets initializers.
        Parameters:
        kafkaClusterId - the id of the Kafka cluster.
        properties - the properties of the Kafka cluster.
        startingOffsetsInitializer - the starting offsets initializer for the cluster.
        stoppingOffsetsInitializer - the stopping offsets initializer for the cluster.