wegod commented on issue #5479: URL: https://github.com/apache/rocketmq/issues/5479#issuecomment-1306863192
> > I think you have the same issue I had before. > > If you have several projects use same consumer group, check all your consumer project code whether there is a consumer don't call subscribe method. > > All consumer in same consumer group must call subscribe method to bind the same consumer group subscription. If a consumer only call start method, then it will clean consumer group subscription. > > This is because of https://rocketmq.apache.org/zh/docs/4.x/bestPractice/21subscribe > > And I think this clean design is very strange which cost several hours to fix the deep bug. > > thinks,but my consumer group only has one consumer,i just has many consumer groups,and one consumer group has one consumer 2022-11-08 13:54:01 INFO NettyEventExecutor - unregister consumer ok, no any connection, and remove consumer group, real_db_consumer_group-dsp_error consumer group was deleted by this log, I check the source code of method doChannelCloseEvent in ConsumerManager.java and found when consumer group has no consumer, then when the last consumer's Channel close, the consumer group will be deleted. But I can't find why your consumer Channel is closed, you can check by yourself or submit more relation log. Say something else, in your use case, maybe you can set MessageModel to BROADCASTING and use one consumer group. It's the same all machine will consume all the message. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
