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/15 08:35:47 UTC

[GitHub] [rocketmq] wangwei1996 opened a new issue #3150: RocketMQ消息生产成功,但是RocketMQ控制台查看不到,也消费不到

wangwei1996 opened a new issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150


   生产者的SendStatus是SEND_OK,但是控制台查看不到该消息,消费者也消费不到


-- 
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



[GitHub] [rocketmq] wangwei1996 commented on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
wangwei1996 commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-882489105


   > 问题产生原因:
   > 在项目中配置了两个DefaultMQProducer且两个DefaultMQProducer的nameServer不一致,导致mq消息发送的位置错误。配置文件如下:
   > # 由Spring管理的DefaultMQProducer
   > rocket-mq:
   >    namesrv-addr: namesrv1
   >    groupName:
   >    topic:
   > # 使用new的方式创建DefaultMQProducer类型的实例
   > dingTalk-log:
   >     nameServer: namesrv2
   >     retryTimesWhenSendAsyncFailed:
   >     groupName:
   >     topic:
   
   通过Debug可以发现,是MqclientFactory和clientId的关系所导致的,具体的原因可以看一下源代码


-- 
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



[GitHub] [rocketmq] wangwei1996 edited a comment on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [rocketmq] maixiaohai closed issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
maixiaohai closed issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150


   


-- 
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



[GitHub] [rocketmq] wangwei1996 commented on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
wangwei1996 commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-881241587


   问题产生原因:
      在项目中配置了两个DefaultMQProducer且两个DefaultMQProducer的nameServer不一致,导致mq消息发送的位置错误。


-- 
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



[GitHub] [rocketmq] RongtongJin commented on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-880639255


   > 生产者的SendStatus是SEND_OK,但是控制台查看不到该消息,消费者也消费不到
   
   可以用mqadmin tool根据msgId查是否存在消息。


-- 
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



[GitHub] [rocketmq] ltamber commented on issue #3150: RocketMQ消息生产成功,但是RocketMQ控制台查看不到,也消费不到

Posted by GitBox <gi...@apache.org>.
ltamber commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-880535809


   @wangwei1996 please provide more information about this issue. including:
   - the version of your client and server
   - the configuration of your producer and consumer
   - the environment you use (os, java version ...)
   - the steps to reproduce this issue


-- 
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



[GitHub] [rocketmq] wangwei1996 commented on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
wangwei1996 commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-882489105


   > 问题产生原因:
   > 在项目中配置了两个DefaultMQProducer且两个DefaultMQProducer的nameServer不一致,导致mq消息发送的位置错误。配置文件如下:
   > # 由Spring管理的DefaultMQProducer
   > rocket-mq:
   >    namesrv-addr: namesrv1
   >    groupName:
   >    topic:
   > # 使用new的方式创建DefaultMQProducer类型的实例
   > dingTalk-log:
   >     nameServer: namesrv2
   >     retryTimesWhenSendAsyncFailed:
   >     groupName:
   >     topic:
   
   通过Debug可以发现,是MqclientFactory和clientId的关系所导致的,具体的原因可以看一下源代码


-- 
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



[GitHub] [rocketmq] wangwei1996 commented on issue #3150: The message is successfully produced, but the messages cannot be viewed or consumed

Posted by GitBox <gi...@apache.org>.
wangwei1996 commented on issue #3150:
URL: https://github.com/apache/rocketmq/issues/3150#issuecomment-882489105


   > 问题产生原因:
   > 在项目中配置了两个DefaultMQProducer且两个DefaultMQProducer的nameServer不一致,导致mq消息发送的位置错误。配置文件如下:
   > # 由Spring管理的DefaultMQProducer
   > rocket-mq:
   >    namesrv-addr: namesrv1
   >    groupName:
   >    topic:
   > # 使用new的方式创建DefaultMQProducer类型的实例
   > dingTalk-log:
   >     nameServer: namesrv2
   >     retryTimesWhenSendAsyncFailed:
   >     groupName:
   >     topic:
   
   通过Debug可以发现,是MqclientFactory和clientId的关系所导致的,具体的原因可以看一下源代码


-- 
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