class ConsumerGroupVo {

	public boolean addTopic(ConsumerGroupTopicVo topicVo) {
		if (topics == null) {
			topics = new ConcurrentHashMap<>();
		}
		if (topicVo == null || Util.isEmpty(topicVo.getName())) {
			throw new IllegalArgumentException("参数不对,consumerGroupName,topicName不能为空！");
		}
		if (topics.containsKey(topicVo.getName())) {
			return false;
		} else {
			topics.put(topicVo.getName(), topicVo);
			return true;
		}
	}

	public  ConsumerGroupVo();
	public  ConsumerGroupVo(String consumerGroupName, ConsumerGroupTopicVo topicVo);
	public  ConsumerGroupVo(String consumerGroupName);

}