Demogorgon314 commented on code in PR #20666:
URL: https://github.com/apache/pulsar/pull/20666#discussion_r1265472874
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/filter/BrokerFilter.java:
##########
@@ -42,9 +42,8 @@ public interface BrokerFilter {
* @param context The load manager context.
* @return Filtered broker list.
*/
- Map<String, BrokerLookupData> filter(Map<String, BrokerLookupData> brokers,
- ServiceUnitId serviceUnit,
- LoadManagerContext context)
- throws BrokerFilterException;
+ CompletableFuture<Map<String, BrokerLookupData>> filter(Map<String,
BrokerLookupData> brokers,
+ ServiceUnitId
serviceUnit,
+ LoadManagerContext
context);
Review Comment:
@BewareMyPower I pushed a PR to add the broker filter sync method back:
https://github.com/apache/pulsar/pull/20826. Is this way acceptable?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]