redlsz opened a new issue, #7963:
URL: https://github.com/apache/rocketmq/issues/7963

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   Check the existence of consumer group in command updateConsumerOffset. 
Return SUBSCRIPTION_GROUP_NOT_EXIST if the group has been deleted.
   
   ### Motivation
   
   In scenarios where consumer group need to be deleted, if 
deleteSubscriptionGroup admin is called before shutting down the online 
consumer clients, the consumer offset records, which is dirty, might be kept in 
broker. This could raise some problems, such as getting incorrect data when 
calling queryTopicConsumeByWho.  
   
   <img width="1725" alt="image" 
src="https://github.com/apache/rocketmq/assets/103550934/d8f6a4ca-56c1-47af-b1c5-e9642d5cb2fb";>
   
   This is not the good way to use rmq, but it would occur, and be 
uncontrollable to broker.
   
   ### Describe the Solution You'd Like
   
   Check the existence of consumer group in command updateConsumerOffset. 
Return SUBSCRIPTION_GROUP_NOT_EXIST if the group has been deleted.
   
   ### Describe Alternatives You've Considered
   
   /
   
   ### Additional Context
   
   _No response_


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