spring cloud stream rocketMq

写demo 过程中报错

RocketMQ Message hasn't been sent. Caused by Send [1] times, still failed, cost [2985]ms, Topic: test-topic, BrokersSent: [localhost.localdomain]

原因:使用虚拟机创建rocketMq,网卡多导致的。

sh bin/mqshutdown broker

查看ip 是否正确,若不正确关闭其他网卡,然后重启。

你可能感兴趣的:(spring cloud stream rocketMq)