// start twice,no problem
this.broker.start();
// ����ȷ��zk������ȷ
final BrokerZooKeeper brokerZooKeeper = this.broker.getBrokerZooKeeper();
final ZkClient client = brokerZooKeeper.getZkClient();
assertTrue(ZkUtils.pathExists(client, "/meta/brokers/ids/" + this.metaConfig.getBrokerId() + "/master"));
assertEquals("meta://localhost:8199",
ZkUtils.readData(client, "/meta/brokers/ids/" + this.metaConfig.getBrokerId() + "/master"));
assertTrue(ZkUtils.pathExists(client, "/meta/brokers/topics/topic1/" + this.metaConfig.getBrokerId() + "-m"));
assertTrue(ZkUtils.pathExists(client, "/meta/brokers/topics/topic2/" + this.metaConfig.getBrokerId() + "-m"));