You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "redlsz (via GitHub)" <gi...@apache.org> on 2024/03/25 11:18:36 UTC

[I] [Enhancement] Check the existence of consumer group in updateConsumerOffset to prevent the generation of dirty consumer offsets [rocketmq]

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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Enhancement] Check the existence of consumer group in updateConsumerOffset to prevent dirty consumer offsets [rocketmq]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #7963: [Enhancement] Check the existence of consumer group in updateConsumerOffset to prevent dirty consumer offsets
URL: https://github.com/apache/rocketmq/issues/7963


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org