rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

deleteTopic command support to delete the topic from which broker

Open xxd763795151 opened this issue 5 years ago • 5 comments

FEATURE REQUEST

  1. Please describe the feature you are requesting. DeleteTopic command support to delete the topic from which broker. So far, it doesn`t. It only allow to delete from which cluster, as follow:

usage: mqadmin deleteTopic -c [-h] [-n ] -t -c,--clusterName delete topic from which cluster -h,--help Print help -n,--namesrvAddr Name server address list, eg: 192.168.0.1:9876;192.168.0.2:9876 -t,--topic topic name

  1. Provide any additional detail on your proposed use case for this feature.

  2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

  3. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

  • sub-task1-issue-number: sub-task1 description here,
  • sub-task2-issue-number: sub-task2 description here,
  • ...

xxd763795151 avatar Jan 22 '21 11:01 xxd763795151

IMO, delete topic from the given broker maybe add complexity for system operation and maintenance.

lizhiboo avatar Feb 22 '21 03:02 lizhiboo

image From the screenshot of the code,when the -c parameter is specified, all brokers under the cluster will be iterator, and then deleted one by one. Personally think that the program can be improved, design a -b parameter, specify the broker to delete the topic

fengyiluo avatar Feb 22 '21 08:02 fengyiluo

It is necessary to implement this feature

lizhimins avatar Feb 25 '21 02:02 lizhimins

This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Sep 23 '22 04:09 github-actions[bot]

This issue was closed because it has been inactive for 3 days since being marked as stale.

github-actions[bot] avatar Sep 26 '22 12:09 github-actions[bot]