You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/08 05:39:18 UTC

[GitHub] [pulsar] wangjialing218 commented on a change in pull request #13184: [Broker] Add admin api to get bundle stats

wangjialing218 commented on a change in pull request #13184:
URL: https://github.com/apache/pulsar/pull/13184#discussion_r764562082



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
##########
@@ -1305,6 +1308,41 @@ protected DispatchRate internalGetSubscriptionDispatchRate() {
         return policies.subscriptionDispatchRate.get(pulsar().getConfiguration().getClusterName());
     }
 
+    public List<BundleStats> internalGetAllBundleStats() {

Review comment:
       this will return the bundles only owned by this broker, so we could known the traffic load of each bundle and decide whether to unload any bundles.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org