shirenchuang opened a new pull request, #7405:
URL: https://github.com/apache/rocketmq/pull/7405

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   
   
   Fixes #7402 
   
   ### Brief Description
   
   <!-- Write a brief description for your pull request to help the maintainer 
understand the reasons behind your changes. -->
   
   ### How Did You Test This Change?
   
   通过判断consumerTable的数量判断是否有消费者存在
   
   1. 在初次启动的时候,如果是注册的消费者,则直接将那几个服务启动,否则不启动
   2. 如果初次启动不是消费者,但是后续有加入新的消费者,则判断那几个服务是否已经启动,如果没有则启动
   
   Determine whether there are consumers by judging the number of consumerTables
   
   1. At the initial startup, if it is a registered consumer, directly start 
those services, otherwise it will not start.
   2. If the initial startup is not a consumer, but new consumers are added 
later, determine whether those services have been started, and if not, start 
them
   
   
   <!-- In order to ensure the code quality of Apache RocketMQ, we expect every 
pull request to have undergone thorough testing. -->
   


-- 
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]

Reply via email to