code: 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;
      }
docs: Convert config read from yaml file config to storm config object.
  
  @param yamlConf config read from yaml
  @return Storm config object