Skip to content

Commit

Permalink
[improve][broker] Improve NamespaceUnloadStrategy error message (apac…
Browse files Browse the repository at this point in the history
…he#21880)

(cherry picked from commit 7c448fe)
  • Loading branch information
Technoboy- authored and mukesh-ctds committed Feb 29, 2024
1 parent 6a1d25c commit 3b957cd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,8 @@ private static NamespaceUnloadStrategy createNamespaceUnloadStrategy(PulsarServi
Thread.currentThread().getContextClassLoader());
log.info("Created namespace unload strategy:{}", unloadStrategy.getClass().getCanonicalName());
} catch (Exception e) {
log.error("Error when trying to create namespace unload strategy: {}",
conf.getLoadBalancerLoadPlacementStrategy(), e);
log.error("create namespace unload strategy failed. using TransferShedder instead.");
log.error("Error when trying to create namespace unload strategy: {}. Using {} instead.",
conf.getLoadBalancerLoadSheddingStrategy(), TransferShedder.class.getCanonicalName(), e);
unloadStrategy = new TransferShedder();
}
unloadStrategy.initialize(pulsar);
Expand Down

0 comments on commit 3b957cd

Please sign in to comment.