class ConsumerGroupUtil {

	public static String getOriginConsumerName(String consumerGroupName) {
		if (consumerGroupName.indexOf("_") == -1) {
			return consumerGroupName;
		} else {
			return consumerGroupName.substring(0, consumerGroupName.lastIndexOf("_"));
		}
	}

}