lhotari commented on code in PR #20659:
URL: https://github.com/apache/pulsar/pull/20659#discussion_r1244617266
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java:
##########
@@ -662,6 +663,14 @@ public void start() throws PulsarServerException {
+ "authenticationEnabled=true when authorization is
enabled with authorizationEnabled=true.");
}
+ if (!config.getLoadBalancerOverrideBrokerNicSpeedGbps().isPresent()
+ && config.isLoadBalancerEnabled()
+ && LinuxInfoUtils.isLinux()
+ && !LinuxInfoUtils.checkHasNicSpeeds()) {
+ throw new IllegalStateException("Unable to read VM NIC speed.
You must set "
Review Comment:
Yes, this code is just copied over from master branch
--
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]