You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/09/22 05:14:17 UTC

[GitHub] [rocketmq] Liberxue commented on a change in pull request #1417: [ISSUE #1416] Delete ConsumerGroupName && Clean offsetTable

Liberxue commented on a change in pull request #1417: [ISSUE #1416]  Delete ConsumerGroupName && Clean offsetTable
URL: https://github.com/apache/rocketmq/pull/1417#discussion_r326883197
 
 

 ##########
 File path: broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java
 ##########
 @@ -682,11 +682,24 @@ private RemotingCommand deleteSubscriptionGroup(ChannelHandlerContext ctx,
         log.info("deleteSubscriptionGroup called by {}", RemotingHelper.parseChannelRemoteAddr(ctx.channel()));
 
         this.brokerController.getSubscriptionGroupManager().deleteSubscriptionGroupConfig(requestHeader.getGroupName());
-
+        // only cleanConsumerOffsetList maker 
+        this.brokerController.getConsumerOffsetManager().cleanConsumerOffsetList(requestHeader.getGroupName());
         response.setCode(ResponseCode.SUCCESS);
         response.setRemark(null);
         return response;
     }
+    
+ //  private RemotingCommand cleanConsumerOffsetList(ChannelHandlerContext ctx,
 
 Review comment:
   ok has been cleaned~

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services