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:09:12 UTC
[GitHub] [rocketmq] SuYong1 opened a new issue, #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
SuYong1 opened a new issue, #5737:
URL: https://github.com/apache/rocketmq/issues/5737
This is the step I config the brokerIP1
1,edit the config file:conf/broker.conf
2,add a pulic IP as brokerIP1: brokerIP1=xx.xx.xx.xx
3,save config file and restart broker process
The problem is:the brokerIP1 in nameServer is still the Intranet IP.Not the public IP I set in broker.conf
How can I set the brokerIP1 force.
The operation system is Ubuntu 22.04.1 LTS
The public IP is not shown in network cards
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] Oliverwqcwrw commented on issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
Posted by GitBox <gi...@apache.org>.
Oliverwqcwrw commented on issue #5737:
URL: https://github.com/apache/rocketmq/issues/5737#issuecomment-1370418302
problem is solved
--
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
[GitHub] [rocketmq] SuYong1 commented on issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
Posted by GitBox <gi...@apache.org>.
SuYong1 commented on issue #5737:
URL: https://github.com/apache/rocketmq/issues/5737#issuecomment-1358784644
I switch the rocketmq version to 4.8,this problem solved
![1671506194393](https://user-images.githubusercontent.com/20244320/208573301-df5243c1-a2c0-4dbd-8372-525bf98cccda.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
[GitHub] [rocketmq] SuYong1 commented on issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
Posted by GitBox <gi...@apache.org>.
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
[GitHub] [rocketmq] Oliverwqcwrw closed issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
Posted by GitBox <gi...@apache.org>.
Oliverwqcwrw closed issue #5737: Why I config the brokerIP1, and restart the broker,the brokerIP1 not change
URL: https://github.com/apache/rocketmq/issues/5737
--
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