public class HttpNode
extends org.thales.punch.libraries.storm.api.BaseProcessingNode
{
"bolts": [
{
"type": "http_output",
"bolt_settings": {
"url": "http://domain.com/request"
},
"storm_settings": {
"component": "http_bolt",
"subscribe": [
....
]
}
}
]
}
Constructor and Description |
---|
HttpNode(org.thales.punch.libraries.storm.api.NodeSettings boltSettings) |
Modifier and Type | Method and Description |
---|---|
void |
prepare(Map stormConf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector collector) |
void |
process(org.apache.storm.tuple.Tuple input) |
public HttpNode(org.thales.punch.libraries.storm.api.NodeSettings boltSettings)
public void prepare(Map stormConf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector collector)
prepare
in interface org.apache.storm.task.IBolt
prepare
in class org.thales.punch.libraries.storm.api.BaseProcessingNode
public void process(org.apache.storm.tuple.Tuple input)
process
in class org.thales.punch.libraries.storm.api.BaseProcessingNode
Copyright © 2023. All rights reserved.