merlimat commented on a change in pull request #10391:
URL: https://github.com/apache/pulsar/pull/10391#discussion_r623280170



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/ModularLoadManagerImpl.java
##########
@@ -296,6 +272,22 @@ public LocalBrokerData deserialize(String key, byte[] 
content) throws Exception
         loadSheddingPipeline.add(createLoadSheddingStrategy());
     }
 
+    @Override
+    public void accept(Notification t) {
+        if (t.getPath().startsWith(LoadManager.LOADBALANCE_BROKERS_ROOT)) {

Review comment:
       Yes, it could be improved, we should have 2 basic ways, either exact or 
prefix match




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to