public class OutputFieldsExtractor extends Object implements Serializable
Constructor and Description |
---|
OutputFieldsExtractor() |
Modifier and Type | Method and Description |
---|---|
<K,V> Fields |
getOutputFields(KafkaTridentSpoutConfig<K,V> kafkaSpoutConfig)
Extract the output fields from the config.
|
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.
Copyright © 2020 The Apache Software Foundation. All rights reserved.