Closed zhgdbut closed 4 years ago
you can print the return result and print messageKey,then you can use mqadmin to query the message to check。
I had print return result , and use msgId query in the mqadmin, but nothing found! This kind of thing only happens once or twice。
zhgdbut,
Here is the checklist, which might be helpful to you.
Either case mentioned above may lead you to the conclusion that your message is 'lost'.
Zhanhui Li
On Tue, Jun 2, 2020 at 11:12 PM zhgdbut notifications@github.com wrote:
I had print return result , and use msgId query in the mqadmin, but nothing found! This kind of thing only happens once or twice。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/rocketmq/issues/2066#issuecomment-637606420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4WG4BBPHTBMWOKXV7UQLRUUJFJANCNFSM4NQUIAOQ .
This happened to me, too. How did you solve it
use this method : this.sendDefaultImpl(msg, CommunicationMode.SYNC, null, timeout); in org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl#sendDefaultImpl
I had send message success because it returned SEND_OK and msgId, but i can not found the message .