@ SuppressWarnings ( "unchecked" ) public static Map component_conf ( TopologyContext topology_context , String component_id ) { Map < Object , Object > componentConf = new HashMap <> ( ) ; String jconf = topology_context . getComponentCommon ( component_id ) . get_json_conf ( ) ; if ( jconf != null ) { componentConf = ( Map < Object , Object > ) JStormUtils . from_json ( jconf ) ; } return componentConf ; }
get component configuration