public abstract class ConfigurableTopology extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.storm.Config |
conf |
protected boolean |
isLocal |
protected int |
ttl |
Constructor and Description |
---|
ConfigurableTopology() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.storm.Config |
getConf() |
protected abstract int |
run(String[] args) |
static void |
start(ConfigurableTopology topology,
String[] args) |
protected int |
submit(org.apache.storm.Config conf,
org.apache.storm.topology.TopologyBuilder builder)
Submits the topology with the name taken from the configuration
|
protected int |
submit(String name,
org.apache.storm.Config conf,
org.apache.storm.topology.TopologyBuilder builder)
Submits the topology under a specific name
|
protected org.apache.storm.Config conf
protected boolean isLocal
protected int ttl
public static void start(ConfigurableTopology topology, String[] args)
protected org.apache.storm.Config getConf()
protected abstract int run(String[] args)
protected int submit(org.apache.storm.Config conf, org.apache.storm.topology.TopologyBuilder builder)
protected int submit(String name, org.apache.storm.Config conf, org.apache.storm.topology.TopologyBuilder builder)
Copyright © 2021 DigitalPebble Ltd. All rights reserved.