Code example for Properties

Methods: load

0
            Utils.clearDataDir(metaConfig);
        } 
        SimpleFetchManager.setMessageIdCache(null); 
        EnhancedBroker broker = new EnhancedBroker(metaConfig, pluginsInfo);
        if (isClearConsumerInfo) {
            Utils.clearConsumerInfoInZk(broker.getBroker().getBrokerZooKeeper().getZkClient(), broker.getBroker()
                .getBrokerZooKeeper().getMetaZookeeper()); 
        } 
        broker.start();
        // this.slaveBrokers.add(broker); 
        return broker;
    } 
 
 
    private Map<String, Properties> getSlaveProperties(String name) throws IOException {
        Map<String, Properties> ret = new HashMap<String, Properties>();
        Properties properties =
                com.taobao.metamorphosis.utils.Utils.getResourceAsProperties("async_" + name + ".properties", "GBK");
        ret.put("metaslave", properties);
        return ret;
    } 
 
 
    @Override