Producer and Consumer start error in RocketMQ

//wrong description
com.alibaba.rocketmq.remoting.exception.RemotingConnectException: connect to <192.168.237.133:10909> failed

The reason is that rocketmq opens the vip channel by default: 10911 - 2 = 10909.

//Solution
producer.setVipChannelEnabled(false);
consumer.setVipChannelEnabled(false);


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325595536&siteId=291194637