private static void doTopologyLevelTranslation ( Config heronConfig ) { if ( heronConfig . containsKey ( org . apache . storm . Config . TOPOLOGY_ACKER_EXECUTORS ) ) { Integer nAckers = Utils . getInt ( heronConfig . get ( org . apache . storm . Config . TOPOLOGY_ACKER_EXECUTORS ) ) ; if ( nAckers > 0 ) { org . apache . heron . api . Config . setTopologyReliabilityMode ( heronConfig , org . apache . heron . api . Config . TopologyReliabilityMode . ATLEAST_ONCE ) ; } else { org . apache . heron . api . Config . setTopologyReliabilityMode ( heronConfig , org . apache . heron . api . Config . TopologyReliabilityMode . ATMOST_ONCE ) ; } } else { org . apache . heron . api . Config . setTopologyReliabilityMode ( heronConfig , org . apache . heron . api . Config . TopologyReliabilityMode . ATMOST_ONCE ) ; } }
Translate topology config .