Class ConfigurableTopology


  • public abstract class ConfigurableTopology
    extends Object
    • Field Detail

      • conf

        protected org.apache.storm.Config conf
    • Constructor Detail

      • ConfigurableTopology

        public ConfigurableTopology()
    • Method Detail

      • getConf

        protected org.apache.storm.Config getConf()
      • run

        protected abstract int run​(String[] args)
      • submit

        protected int submit​(org.apache.storm.Config conf,
                             org.apache.storm.topology.TopologyBuilder builder)
        Submits the topology with the name taken from the configuration *
      • submit

        protected int submit​(String name,
                             org.apache.storm.Config conf,
                             org.apache.storm.topology.TopologyBuilder builder)
        Submits the topology under a specific name *