Closed fengzhaowang closed 4 months ago
那我应该用哪个版本的rocketmq去配合1.0.1的mqtt去使用
@fengzhaowang you can use rocketmq 5.1.4
mqtt问题重现操作.txt 问题还依然在,已经换成5.1.4版本,具体操作放在附件中
出现这个问题我寻找代码是下面代码导致的,7001端口接收的消息的PubTopic为空,导致空指针,如下: 我暂时解决的办法为: 暂时没有报错,业务也正常运行,不知道是否可以这样做?
出现这个问题我寻找代码是下面代码导致的,7001端口接收的消息的PubTopic为空,导致空指针,如下: 我暂时解决的办法为: 暂时没有报错,业务也正常运行,不知道是否可以这样做?
plz use rocketmq-mqtt develop branch to have a try
PubTopic is seted in NotifyManager#setPubTopic(), You can check in there Why is PubTopic empty
I used rocketmq 5.1.4 + RocketMQ-MQTT develop branch to reproduce, and did not reproduce this error
maybe same as https://github.com/apache/rocketmq-mqtt/issues/221 , check lmq config in rmq?
有重试停止mqtt的meta和mqtt服务,继续向rmq中发消息,发完消息再启动mqtt吗
有重试停止mqtt的meta和mqtt服务,继续向rmq中发消息,发完消息再启动mqtt吗
yes
使用rocketmq 5.1.4 + RocketMQ-MQTT develop branch已解决问题
rmq 5.2.0 is not yet compatible with rocketmq-mqtt, but this error will not be thrown. It should be a configuration and usage issue