public interface KafkaSpoutStreams extends Serializable
Represents the KafkaSpoutStream
associated with each topic or topic pattern (wildcard), and provides a public API to declare output streams and emmit tuples, on the appropriate stream, for all the topics specified.
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer) |
void |
emit(SpoutOutputCollector collector,
List<Object> tuple,
KafkaSpoutMessageId messageId) |
void declareOutputFields(OutputFieldsDeclarer declarer)
void emit(SpoutOutputCollector collector, List<Object> tuple, KafkaSpoutMessageId messageId)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.