show topic partition info

This commit is contained in:
许晓东
2021-09-23 20:20:52 +08:00
parent 71dda5e432
commit e65eba9237
9 changed files with 203 additions and 5 deletions

View File

@@ -31,4 +31,9 @@ public class TopicController {
public Object deleteTopic(@RequestParam String topic) {
return topicService.deleteTopic(topic);
}
@GetMapping("/partition")
public Object getTopicPartitionInfo(@RequestParam String topic) {
return topicService.getTopicPartitionInfo(topic);
}
}