mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-05-30 14:53:31 +08:00
[ISSUES #281 #274 #285 #287] Speeds up topic and consumer queries, adds caching, and fixes delay/dead-letter topic mix-up (#286)
* fix: Resolved issue of query failure under a large number of topics and consumers apache#281 * fix: Expand the message ID query time range to avoid query failure * fix: Remove duplicates from topic queries, increase system topic recognition #287
This commit is contained in:
@@ -33,9 +33,6 @@
|
||||
<button class="btn btn-raised btn-sm btn-primary" type="button" ng-show="{{writeOperationEnabled}}"
|
||||
ng-click="openAddDialog()">{{'ADD' | translate}}/ {{'UPDATE' | translate}}
|
||||
</button>
|
||||
<button class="btn btn-raised btn-sm btn-primary" type="button" ng-click="refreshConsumerData()">
|
||||
{{'REFRESH' | translate}}
|
||||
</button>
|
||||
<md-switch class="md-primary" md-no-ink aria-label="Switch No Ink" ng-model="intervalProcessSwitch">
|
||||
{{'AUTO_REFRESH' | translate}}
|
||||
</md-switch>
|
||||
@@ -53,6 +50,7 @@
|
||||
<th class="text-center">{{ 'MODE' | translate}}</th>
|
||||
<th class="text-center"><a ng-click="sortByKey('consumeTps')">TPS</a></th>
|
||||
<th class="text-center"><a ng-click="sortByKey('diffTotal')">{{ 'DELAY' | translate}}</a></th>
|
||||
<th class="text-center">{{ 'UPDATE_TIME' | translate}}</th>
|
||||
<th class="text-center">{{ 'OPERATION' | translate}}</th>
|
||||
</tr>
|
||||
<tr ng-repeat="consumerGroup in consumerGroupShowList"
|
||||
@@ -65,6 +63,7 @@
|
||||
<td class="text-center">{{consumerGroup.messageModel}}</td>
|
||||
<td class="text-center">{{consumerGroup.consumeTps}}</td>
|
||||
<td class="text-center">{{consumerGroup.diffTotal}}</td>
|
||||
<td class="text-center">{{consumerGroup.updateTime}}</td>
|
||||
<td class="text-left">
|
||||
<button name="client" ng-click="client(consumerGroup.group, consumerGroup.address)"
|
||||
class="btn btn-raised btn-sm btn-primary"
|
||||
@@ -85,6 +84,9 @@
|
||||
ng-show="{{!sysFlag && writeOperationEnabled}}"
|
||||
type="button">{{'DELETE' | translate}}
|
||||
</button>
|
||||
<button class="btn btn-raised btn-sm btn-primary" type="button" ng-click="refreshConsumerGroup(consumerGroup.group)">
|
||||
{{'REFRESH' | translate}}
|
||||
</button>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -568,4 +570,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user