支持批量删除topic.

This commit is contained in:
许晓东
2022-07-24 11:52:48 +08:00
parent ccdcebb24d
commit e9f34e1d19
5 changed files with 52 additions and 21 deletions

View File

@@ -43,8 +43,8 @@ public class TopicController {
}
@DeleteMapping
public Object deleteTopic(@RequestParam String topic) {
return topicService.deleteTopic(topic);
public Object deleteTopic(@RequestBody List<String> topics) {
return topicService.deleteTopics(topics);
}
@GetMapping("/partition")