变更副本信息查询

This commit is contained in:
许晓东
2021-11-19 21:01:11 +08:00
parent 405f272fb7
commit 7a98eb479f
11 changed files with 301 additions and 9 deletions

View File

@@ -71,4 +71,8 @@ public class TopicController {
return topicService.addPartitions(topic, addNum, assignment);
}
@GetMapping("/replica/assignment")
public Object getCurrentReplicaAssignment(@RequestParam String topic) {
return topicService.getCurrentReplicaAssignment(topic);
}
}