public static Config convertYamlToStormConf ( Map < String , Object > yamlConf ) { Config stormConf = new Config ( ) ; for ( Entry < String , Object > targetConfigEntry : yamlConf . entrySet ( ) ) { stormConf . put ( targetConfigEntry . getKey ( ) , targetConfigEntry . getValue ( ) ) ; } return stormConf ; }
Convert config read from yaml file config to storm config object .