HScarb commented on code in PR #7209:
URL: https://github.com/apache/rocketmq/pull/7209#discussion_r1299743504
##########
common/src/main/java/org/apache/rocketmq/common/KeyBuilder.java:
##########
@@ -31,6 +31,13 @@ public static String parseNormalTopic(String topic, String
cid) {
}
}
+ public static boolean isPopRetryTopicOfTopic(String retryTopic, String
topic) {
+ if (!retryTopic.startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX)) {
+ return false;
+ }
+ return retryTopic.endsWith("_" + topic);
Review Comment:
Indeed, I'll check the consumer group names before deleting pop retry topics.
--
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]