Package org.apache.storm.utils
Class ConfigUtils
- java.lang.Object
-
- org.apache.storm.utils.ConfigUtils
-
public final class ConfigUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.heron.api.Config
translateComponentConfig(Map stormConfig)
Translate storm config to heron config for componentsstatic org.apache.heron.api.Config
translateConfig(Map stormConfig)
Translate storm config to heron config for topology
-
-
-
Method Detail
-
translateConfig
public static org.apache.heron.api.Config translateConfig(Map stormConfig)
Translate storm config to heron config for topology- Parameters:
stormConfig
- the storm config- Returns:
- a heron config
-
translateComponentConfig
public static org.apache.heron.api.Config translateComponentConfig(Map stormConfig)
Translate storm config to heron config for components- Parameters:
stormConfig
- the storm config- Returns:
- a heron config
-
-