public static Config buildConfig ( TopologyDef topologyDef ) { // merge contents of `config` into topology config Config conf = new Config ( ) ; conf . putAll ( topologyDef . getConfig ( ) ) ; return conf ; }
Given a topology definition return a populated org . apache . storm . Config instance .