public class HttpBoltFactory extends Object implements org.thales.punch.libraries.storm.api.IBoltFactory
HttpNode
from NodeSettings
, ITopologySettings
.
The Http bolt expects a three-section settings maps:
{
"type" : "http_output",
"bolt_settings" : {
"url" : "http://127.0.0.1/",
},
"storm_settings" : {
...
}
}
],
*
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The key referencing the associated bolt.
|
Constructor and Description |
---|
HttpBoltFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.storm.topology.IRichBolt |
createBolt(org.thales.punch.platform.api.IPlatform platform,
org.thales.punch.libraries.storm.api.NodeSettings config,
org.thales.punch.libraries.storm.api.ITopologySettings topoConfig) |
public static final String TYPE
public org.apache.storm.topology.IRichBolt createBolt(org.thales.punch.platform.api.IPlatform platform, org.thales.punch.libraries.storm.api.NodeSettings config, org.thales.punch.libraries.storm.api.ITopologySettings topoConfig)
createBolt
in interface org.thales.punch.libraries.storm.api.IBoltFactory
Copyright © 2023. All rights reserved.