rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

one consumer group subscribe multiple topic, some messages not consumed

Open henrypoter opened this issue 6 years ago • 5 comments

  1. Please describe the issue you observed:

I have a consumer group, it include 3 instances, it subscribes 3 topics using CLUSTER mode, each topic have 16 queues. I expect the consumer group consumes all the messages in the 3 topics. When I check the consumer of each topic, I find that some queues have not assigned to the consumers. It seems that the consumer group should be unique in broker level.

  1. Please tell us about your environment: 4.6.0 dleager mode cluster

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

henrypoter avatar Jun 12 '20 02:06 henrypoter

The subscription relationship must be consistent among all consumers in the consumer group.

ShannonDing avatar Jun 12 '20 12:06 ShannonDing

please check subscription in all topic exist in all broker

lebron374 avatar Jun 13 '20 02:06 lebron374

The subscription relationship must be consistent among all consumers in the consumer group.

Do you mean only support one consumer group subscribes one topic ? Don't support one consumer group subscribes three topics at the same time ?

henrypoter avatar Jun 15 '20 07:06 henrypoter

The first thing you should be aware of is that different Consumer Group can consume the same topic independently, and each of them will have their own consuming offsets. Of course, the consumers in the same consumer group can also consume multiple topics at the same time. Please make sure each Consumer within the same Group to subscribe to the same topics.

ShannonDing avatar Jun 16 '20 02:06 ShannonDing

I got it.

Thanks

henrypoter avatar Jun 16 '20 03:06 henrypoter