使用RocketMQ启动生产者时连接错误
错误 = org.apache.rocketmq.client.exception.MQClientException: Send [1] times, still failed, cost [4992]ms, Topic: orderlyTopicBoot, BrokersSent: [broker-a]
See http://rocketmq.apache.org/docs/faq/ for further details.
该问题是单机版Brokers连接错误,此时需要在/rocketmq-4.4/conf/ 找到broker.conf 并配置
brokerName = broker-a
brokerIP1= 124.71.34.21
随后重启 即可。