public class StormTopologyBuilder extends Object implements ITopologyBuilder
Constructor and Description |
---|
StormTopologyBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.storm.generated.StormTopology |
getTopology() |
IBoltDeclarer |
setBolt(String boltComponentId,
org.apache.storm.topology.IRichBolt bolt,
int boltExecutors) |
void |
setSpout(String spoutComponentId,
org.thales.punch.libraries.storm.api.ISpout spout,
int spoutExecutors) |
public void setSpout(String spoutComponentId, org.thales.punch.libraries.storm.api.ISpout spout, int spoutExecutors)
setSpout
in interface ITopologyBuilder
public IBoltDeclarer setBolt(String boltComponentId, org.apache.storm.topology.IRichBolt bolt, int boltExecutors)
setBolt
in interface ITopologyBuilder
public org.apache.storm.generated.StormTopology getTopology()
Copyright © 2023. All rights reserved.