Class KafkaTridentSpoutConfig<K,​V>

    • Method Detail

      • builder

        public static KafkaTridentSpoutConfig.Builder<String,​String> builder​(String bootstrapServers,
                                                                                   String... topics)
        Factory method that creates a Builder with String key/value deserializers.
        Parameters:
        bootstrapServers - The bootstrap servers for the consumer
        topics - The topics to subscribe to
        Returns:
        The new builder
      • builder

        public static KafkaTridentSpoutConfig.Builder<String,​String> builder​(String bootstrapServers,
                                                                                   Set<String> topics)
        Factory method that creates a Builder with String key/value deserializers.
        Parameters:
        bootstrapServers - The bootstrap servers for the consumer
        topics - The topics to subscribe to
        Returns:
        The new builder
      • builder

        public static KafkaTridentSpoutConfig.Builder<String,​String> builder​(String bootstrapServers,
                                                                                   Pattern topics)
        Factory method that creates a Builder with String key/value deserializers.
        Parameters:
        bootstrapServers - The bootstrap servers for the consumer
        topics - The topic pattern to subscribe to
        Returns:
        The new builder