zhanghaou commented on code in PR #25289:
URL: https://github.com/apache/pulsar/pull/25289#discussion_r2893491544


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/LoadManager.java:
##########
@@ -70,11 +70,11 @@ default boolean started() {
 
     default CompletableFuture<Optional<LookupResult>> findBrokerServiceUrl(
             Optional<ServiceUnitId> topic, ServiceUnitId bundle, LookupOptions 
options) {
-        throw new UnsupportedOperationException();
+        return CompletableFuture.failedFuture(new 
UnsupportedOperationException());

Review Comment:
   All checked and fixed.



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

Reply via email to