public void run ( String name , Config config , Builder builder ) { BuilderImpl bldr = ( BuilderImpl ) builder ; TopologyBuilder topologyBuilder = bldr . build ( ) ; try { HeronSubmitter . submitTopology ( name , config . getHeronConfig ( ) , topologyBuilder . createTopology ( ) ) ; } catch ( AlreadyAliveException | InvalidTopologyException e ) { e . printStackTrace ( ) ; } }
Runs the computation