java 代码中连接时报错:No route info of this topic
## 首先改配置文件
vim broker.conf
## 这个文件里面最后加上
autoCreateTopicEnable=true
## 在启动broker时要显式声明一下使用该文件
nohup bin/mqbroker -c conf/broker.conf &
org.apache.rocketmq.remoting.exception.RemotingConnectException: connection to ip : 10911 failed
出现这个错误是由于没有配置外网地址,,特别是使用云服务器的话,必须要配置外网地址,而且要开放端口 9876 ,10911,10909 这三个端口
autoCreateTopicEnable=true
namesrvAddr=外网ip:9876
brokerIP1=外网ip