You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/12/20 01:32:25 UTC

[GitHub] [rocketmq] SuYong1 commented on issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change

SuYong1 commented on issue #5737:
URL: https://github.com/apache/rocketmq/issues/5737#issuecomment-1358713833

   I have read the source code of rocketmq 5.0
   This method:org.apache.rocketmq.common.BrokerConfig#setBrokerIP1
   is not called in the start method in rocketmq?
   ![image](https://user-images.githubusercontent.com/20244320/208559985-51357e7a-997f-496b-9aae-48bcedce2baf.png)
   
   
   So,in the start method : org.apache.rocketmq.broker.BrokerStartup#main
   The brokerIP! will only be initialized by this method : org.apache.rocketmq.common.utils.NetworkUtil#getLocalAddress ?
   ![image](https://user-images.githubusercontent.com/20244320/208560236-cbe66f39-baf7-4998-a1e2-0f512906fb6b.png)
   
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org