mattisonchao opened a new pull request #14648:
URL: https://github.com/apache/pulsar/pull/14648
### Motivation
The context here: #14537
The current design is frequently logging an error while ignoring the NIC.
The only real course of action for an operator is to reconfigure the broker. It
seems like a better course of action to fail on startup so that operators know
immediately that they need to fix the configuration instead of finding out
sometime later when observing the logs.
### Modifications
- Verify whether VM has NIC speed.
- Refactor ``LinuxBrokerHostUsageImpl`` and extract some Linux operate to
another class.
### Verifying this change
- [x] Make sure that the change passes the CI checks.
### Documentation
- [x] `no-need-doc`
--
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]