zymap opened a new issue #5905: [pulsar-broker][REST API] Support `terminate` all partitioned of a partitioned topic URL: https://github.com/apache/pulsar/issues/5905 **Is your feature request related to a problem? Please describe.** Pulsar supports `terminate` a non-partitioned-topic or a partition of a partitioned topic. If there has a partitioned topic with too many partitions, users need to get all partitions and `terminate` them one by one. We need to support `terminate` all partition of a partitioned topic. **Describe the solution you'd like** Support `terminate` all partition of a partitioned topic. The implementation is similar to this: https://github.com/apache/pulsar/blob/bdb1f4cb3d1df27957a1472e02d7a22f229aaef8/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java#L890 We need to get all partition of a partitioned topic if the topic is a partitioned topic and send `terminate` requests and waiting for them back. **Additional context** We need to add an integration test or unit test for verifying this change.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
