A message can be multiple groups consumption, but can only be A consumer group, A and B belong to the same group customers, now has 10 messages, because of the competition, the same group or be A total consumption of either B total consumption, does not serve the effect of load balance,

, advice on how to use Java to solve this problem