public class WrapperCustomInput
extends org.thales.punch.libraries.storm.api.BaseInputNode
Constructor and Description |
---|
WrapperCustomInput(org.thales.punch.libraries.storm.api.NodeSettings spoutConfig,
com.github.punch.api.storm.nodes.PunchInputNode node) |
Modifier and Type | Method and Description |
---|---|
void |
ack(Object msgId) |
void |
activate() |
void |
close() |
void |
deactivate() |
void |
declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer) |
void |
fail(Object msgId) |
Map<String,Object> |
getComponentConfiguration() |
void |
nextTuple() |
void |
open(Map conf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.spout.SpoutOutputCollector collector) |
getPublishedStreams, regulate, sendLatencyRecord
public static final String TYPE
public WrapperCustomInput(org.thales.punch.libraries.storm.api.NodeSettings spoutConfig, com.github.punch.api.storm.nodes.PunchInputNode node)
public void open(Map conf, org.apache.storm.task.TopologyContext context, org.apache.storm.spout.SpoutOutputCollector collector)
open
in interface org.apache.storm.spout.ISpout
open
in class org.thales.punch.libraries.storm.api.BaseInputNode
public void close()
close
in interface org.apache.storm.spout.ISpout
close
in class org.thales.punch.libraries.storm.api.BaseInputNode
public void activate()
activate
in interface org.apache.storm.spout.ISpout
activate
in class org.apache.storm.topology.base.BaseRichSpout
public void deactivate()
deactivate
in interface org.apache.storm.spout.ISpout
deactivate
in class org.thales.punch.libraries.storm.api.BaseInputNode
public void nextTuple()
public void ack(Object msgId)
ack
in interface org.apache.storm.spout.ISpout
ack
in class org.thales.punch.libraries.storm.api.BaseInputNode
public void fail(Object msgId)
fail
in interface org.apache.storm.spout.ISpout
fail
in class org.thales.punch.libraries.storm.api.BaseInputNode
public void declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields
in interface org.apache.storm.topology.IComponent
declareOutputFields
in class org.thales.punch.libraries.storm.api.BaseInputNode
Copyright © 2022. All rights reserved.