panzhi33 commented on issue #3405:
URL: https://github.com/apache/rocketmq/issues/3405#issuecomment-940679506


   > Because my broker is running in a container, I am not sure which node it 
will run on before the broker runs,so I cannot configure this address in the 
configuration file in advance.
   
   Is the broker container started by a script? You can get the node's ip in 
the script, then sed to properties, and finally start the broker。If it doesn’t 
work, then you can’t configure this and use RemotingUtil.getLocalAddress() to 
get it by default.


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