Interface ILocalClusterTrackedTopologyAware

All Superinterfaces:
AutoCloseable, ILocalCluster
All Known Implementing Classes:
LocalCluster

public interface ILocalClusterTrackedTopologyAware extends ILocalCluster
This is here mostly for backwards compatibility. Please see LocalCluster for more details on testing a Storm Topology.
  • Method Details

    • 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