Interface ILocalClusterTrackedTopologyAware

    • Method Detail

      • submitTopology

        ILocalCluster.ILocalTopology submitTopology​(String topologyName,
                                                    Map<String,​Object> conf,
                                                    TrackedTopology topology)
                                             throws org.apache.storm.thrift.TException
        Submit a tracked topology to be run in local mode.
        Parameters:
        topologyName - the name of the topology to use
        conf - the config for the topology
        topology - the topology itself.
        Returns:
        an AutoCloseable that will kill the topology.
        Throws:
        org.apache.storm.thrift.TException - on any error from nimbus
      • submitTopologyWithOpts

        ILocalCluster.ILocalTopology submitTopologyWithOpts​(String topologyName,
                                                            Map<String,​Object> conf,
                                                            TrackedTopology topology,
                                                            SubmitOptions submitOpts)
                                                     throws org.apache.storm.thrift.TException
        Submit a tracked topology to be run in local mode.
        Parameters:
        topologyName - the name of the topology to use
        conf - the config for the topology
        topology - the topology itself.
        submitOpts - options for topology
        Returns:
        an AutoCloseable that will kill the topology.
        Throws:
        org.apache.storm.thrift.TException - on any error from nimbus