zooah212 commented on issue #7187:
URL: https://github.com/apache/rocketmq/issues/7187#issuecomment-1690919825

   > 我遇到过,不过我是5.0版本。 我理解是第一条消息发送时由于topic没有创建,所以第一条消息去触发了topic的创建(其实是consume 
queue的初始化)然后由于topic还没有创建(在消息被broker接收到时)所以消息发送失败了(write consume queue 
fail),所以在这里应该加一个重试,我原本打算debug一下这块的细节,不过还没来得及做。 不过丢失了第一条消息确实是一个已知的问题。
   
   感谢,我测试了 5.0.0 和 5.1.3 都是有这个问题。而且如果是 mq 
集群时,这个问题更让人头疼,单机时至少发第二次能够发出去,但是集群时如果正好创建了 topic 的 broker 宕机,那么后续再发消息其他的 broker 
不会再自动创建 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to