Class OutputFieldsExtractor

    • Constructor Detail

      • OutputFieldsExtractor

        public OutputFieldsExtractor()
    • Method Detail

      • getOutputFields

        public <K,​V> Fields getOutputFields​(KafkaTridentSpoutConfig<K,​V> kafkaSpoutConfig)
        Extract the output fields from the config. Throws an error if there are multiple declared output streams, since Trident only supports one output stream per spout.