Package com.taobao.metamorphosis.server.assembly

Examples of com.taobao.metamorphosis.server.assembly.MetaMorphosisBroker.start()


            this.broker.init(metaBroker, props);
            // recover����ʱ�Ȳ�������zk
            assertFalse(metaBroker.getBrokerZooKeeper().getZkConfig().zkEnable);

            // ������meta broker
            metaBroker.start();
            // ��ʼrecover
            this.broker.start();

            // ȷ���Ƿ�ȫ����ƫ�ɹ�
            final String consumerId = "SamsaMasterBrokerUnitTest";
View Full Code Here


        final MetaMorphosisBroker broker = new MetaMorphosisBroker(metaConfig);
        if (isClearConsumerInfo) {
            Utils.clearConsumerInfoInZk(broker.getBrokerZooKeeper().getZkClient(), broker.getBrokerZooKeeper()
                .getMetaZookeeper());
        }
        broker.start();
        this.brokers.add(broker);
        return broker;
    }

View Full Code Here

    public static void main(final String[] args) {
        final String configFilePath = getConfigFilePath(args);
        final MetaConfig metaConfig = getMetaConfig(configFilePath);
        final MetaMorphosisBroker server = new MetaMorphosisBroker(metaConfig);
        server.start();

    }


    static MetaConfig getMetaConfig(final String configFilePath) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.