[Bugfix]修复ReplicaMetricCollector编译失败问题(#802)

This commit is contained in:
zengqiao
2022-12-03 14:33:28 +08:00
committed by EricZeng
parent e632c6c13f
commit 921161d6d0

View File

@@ -43,7 +43,7 @@ public class ReplicaMetricCollector extends AbstractMetricCollector<ReplicationM
public List<ReplicationMetrics> collectKafkaMetrics(ClusterPhy clusterPhy) { public List<ReplicationMetrics> collectKafkaMetrics(ClusterPhy clusterPhy) {
Long clusterPhyId = clusterPhy.getId(); Long clusterPhyId = clusterPhy.getId();
List<VersionControlItem> items = versionControlService.listVersionControlItem(clusterPhyId, collectorType().getCode()); List<VersionControlItem> items = versionControlService.listVersionControlItem(clusterPhyId, collectorType().getCode());
List<Partition> partitions = partitionService.listPartitionFromCacheFirst(clusterPhyId); List<Partition> partitions = partitionService.listPartitionByCluster(clusterPhyId);
FutureWaitUtil<Void> future = this.getFutureUtilByClusterPhyId(clusterPhyId); FutureWaitUtil<Void> future = this.getFutureUtilByClusterPhyId(clusterPhyId);