RokectMQ连接问题

ROCKETMQ连接问题
容器版本的生产者连接MQ报错
org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to [=10.33.254.226:9876] failed
同样的配置 linux版本的生产者就可以直接连上 配置如下
#Class name
#INPUT_ACTIVEMQ=com.newland.jplugin.activemq.plugin.ActiveMQInputPlugin
OUTPUT_PULSAR=com.newland.plugin.PulsarPlugin
OUTPUT_ROCKETMQ=com.newland.plugin.RocketMQPlugin
INPUT_ROCKETMQ=com.newland.impl.LitePullConsumer

#rocketmq param
rocketmq.rocketMQNameSvr==10.33.254.226:9876
rocketmq.rocketMQTimeout=300000
rocketmq.rocketMQTopic=topic_demo
rocketmq.rocketMQGroup=default-group
rocketmq.rocketMQTransGroup=trans-group

rocketMQ.namesrv==10.33.254.226:9876
rocketMQ.PullBatchSize=1000
rocketMQ.defaultGroup=rocketGroup
rocketMQ.topic=topic_demo
rocketMQ.poolSize=1

#DEFAULT_PLUGIN=com.newland.impl.SimplePullConsumer
DEFAULT_PLUGIN=com.newland.impl.LitePullConsumer
#DEFAULT_PLUGIN=com.newland.impl.Pulsar_Plugin
百度之后发现 brokerIP1的配置需要修改 修改之后报错仍未解决

brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 48
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH
brokerIP1=10.33.254.226
namesrvAddr=10.33.254.226:9876

请大神帮忙看下

请在答疑区提问!

好的

关闭