mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-07 23:28:24 +08:00
v2.1 fe
This commit is contained in:
@@ -35,6 +35,8 @@ export interface ITopicBaseInfo {
|
||||
score: number;
|
||||
topicCodeC: string;
|
||||
physicalClusterId: number;
|
||||
percentile: string;
|
||||
regionNameList: any;
|
||||
}
|
||||
|
||||
export interface IRealTimeTraffic {
|
||||
@@ -488,9 +490,9 @@ class Topic {
|
||||
return getRealTimeTraffic(clusterId, topicName).then(this.setRealTimeTraffic);
|
||||
}
|
||||
|
||||
public getRealConsume(clusterId: number, topicName: string) {
|
||||
public getRealConsume(clusterId: number, topicName: string, percentile: string) {
|
||||
this.setConsumeLoading(true);
|
||||
return getRealConsume(clusterId, topicName).then(this.setRealConsume);
|
||||
return getRealConsume(clusterId, topicName, percentile).then(this.setRealConsume);
|
||||
}
|
||||
|
||||
public getConnectionInfo(clusterId: number, topicName: string, appId?: string) {
|
||||
|
||||
Reference in New Issue
Block a user