apache / rocketmq-client-go

Apache RocketMQ go client
https://rocketmq.apache.org/
Apache License 2.0
1.28k stars 409 forks source link

Message may be lost when sendMessageBack fails #1106

Closed redlsz closed 3 months ago

redlsz commented 8 months ago

The issue tracker is ONLY used for the go client (feature request of RocketMQ need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

BUG REPORT

  1. Please describe the issue you observed:

The consumer encounters a consumption failure and returns consumer.ConsumeRetryLater, but no retry messages is received and no exception logs are observed. The message is lost.

image

Broker's response is not checked here and it may indicate a failure. (eg: SYSTEM_ERROR)

  1. Please tell us about your environment:

    • What is your OS? centos

    • What is your client version? master branch

    • What is your RocketMQ version? 4.x

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):