You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/07/16 07:39:02 UTC
[GitHub] [rocketmq] wangwei1996 edited a comment on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed
wangwei1996 edited a comment on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-881241587
问题产生原因:
在项目中配置了两个DefaultMQProducer且两个DefaultMQProducer的nameServer不一致,导致mq消息发送的位置错误。配置文件如下:
# 由Spring管理的DefaultMQProducer
rocket-mq:
namesrv-addr: namesrv1
groupName:
topic:
# 使用new的方式创建DefaultMQProducer类型的实例
dingTalk-log:
nameServer: namesrv2
retryTimesWhenSendAsyncFailed:
groupName:
topic:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org