Aias00 opened a new pull request, #10773:
URL: https://github.com/apache/rocketmq/pull/10773

   ### What changed
   
   This PR makes `DefaultAdminService#createTopicOnBroker` skip malformed 
current broker rows while collecting existing broker addresses.
   
   The sample broker loop already handled null broker address maps, but the 
current broker loop dereferenced `brokerData.getBrokerAddrs()` directly.
   
   ### Why
   
   A malformed current route row should not prevent Proxy admin topic creation 
from proceeding on valid sample brokers.
   
   Fixes #10772.
   
   ### Verification
   
   ```bash
   mvn -pl proxy -Dtest=DefaultAdminServiceTest test
   ```
   
   Result: BUILD SUCCESS. `DefaultAdminServiceTest` ran 2 tests with 0 
failures/errors/skips. Checkstyle and SpotBugs also passed in the Maven run.
   


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