public void testReigsterSlaveConsumer() throws Exception {
final ConsumerConfig consumerConfig = new ConsumerConfig();
consumerConfig.setGroup(GROUP);
final ConcurrentHashMap<String/* topic */, SubscriberInfo> topicSubcriberRegistry =
new ConcurrentHashMap<String, SubscriberInfo>();
topicSubcriberRegistry.put("topic1", new SubscriberInfo(null, null, 1024 * 1024));
topicSubcriberRegistry.put("topic2", new SubscriberInfo(null, null, 1024 * 1024));
// ���輯Ⱥ������̨master,topic1��master����3������;
// topic2��master����1������,����һ������ص�master����1������
ZkUtils.createEphemeralPath(this.client, this.metaZookeeper.brokerIdsPath + "/0/master", "meta://localhost:0");
ZkUtils.createEphemeralPath(this.client, this.metaZookeeper.brokerIdsPath + "/1/master", "meta://localhost:1");