mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Optimize]优化集群Brokers中, Controller显示存在延迟的问题 (#1162)
优化方式: 从DB获取调整为从Kafka中实时获取。
This commit is contained in:
@@ -52,7 +52,7 @@ public class ClusterBrokersController {
|
||||
@GetMapping(value = "clusters/{clusterPhyId}/brokers-state")
|
||||
@ResponseBody
|
||||
public Result<ClusterBrokersStateVO> getClusterPhyBrokersState(@PathVariable Long clusterPhyId) {
|
||||
return Result.buildSuc(clusterBrokersManager.getClusterPhyBrokersState(clusterPhyId));
|
||||
return clusterBrokersManager.getClusterPhyBrokersState(clusterPhyId);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "集群brokers信息列表")
|
||||
|
||||
Reference in New Issue
Block a user