public void runRemotely() throws Exception { StormRunner.runTopologyRemotely(builder.createTopology(), topologyName, topologyConfig); }
public void runLocally() throws InterruptedException { StormRunner.runTopologyLocally( builder.createTopology(), topologyName, topologyConfig, runtimeInSeconds); }