mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-29 04:13:00 +08:00
74e90f7c28
* [ISSUE #10446] Support batch deletion of topics and subscription groups in broker - Add DELETE_TOPIC_IN_BROKER_LIST and DELETE_SUBSCRIPTION_GROUP_LIST request codes with corresponding RequestBody types - Implement deleteTopicList / deleteSubscriptionGroupList in AdminBrokerProcessor with deduplication and one-shot persist - Add deleteTopicConfigList / deleteSubscriptionGroupConfigList in TopicConfigManager / SubscriptionGroupManager (single persist per batch) - Add MQClientAPIImpl#deleteTopicInBrokerList / deleteSubscriptionGroupList client APIs - Cover changes with unit tests in AdminBrokerProcessorTest * fix: persist config after batch delete * fix: preserve batch delete failure response --------- Co-authored-by: wangjiahua.wjh <wangjiahua.wjh@alibaba-inc.com> Co-authored-by: fuchong <yubao.fyb@alibaba-inc.com>