96979899100101102103104105106
return conf; } private static IContext getLocalContext(Map conf) { if (!(Boolean) conf.get(Config.STORM_LOCAL_MODE_ZMQ)) { IContext result = new NettyContext(); result.prepare(conf); return result; } return null; }