RocketMQ中Producer和Consumer启动出错

//错误描述
com.alibaba.rocketmq.remoting.exception.RemotingConnectException: connect to <192.168.237.133:10909> failed

原因是rocketmq默认开启了vip通道:10911 - 2 = 10909。

//解决办法
producer.setVipChannelEnabled(false);
consumer.setVipChannelEnabled(false);


猜你喜欢

转载自blog.csdn.net/qq_36135928/article/details/79286892