修改服务器中broker的配置,添加服务器IP即可
vim /home/prod/rocketmq-all-4.3.0/distribution/target/apache-rocketmq/conf/broker.conf
brokerIP1=xx.xx.xx.xx
> nohup sh bin/mqbroker -n localhost:9876 -c conf/broker.conf &
修改服务器中broker的配置,添加服务器IP即可
vim /home/prod/rocketmq-all-4.3.0/distribution/target/apache-rocketmq/conf/broker.conf
brokerIP1=xx.xx.xx.xx
> nohup sh bin/mqbroker -n localhost:9876 -c conf/broker.conf &