wenfengwang commented on issue #302: [Native] push consumer receives multiple 
messages, but just return one consumer status
URL: 
https://github.com/apache/rocketmq-client-go/issues/302#issuecomment-554827384
 
 
   The RocketMQ provides `at least once` guarantee, which means some messages 
may be duplicated for consuming. For multiple messages that part consuming 
failed and another succeeded, you should return `ConsumeRetryLater` for 
consuming later. if you worry about consuming duplicated, you should assign a 
business ID for each message for avoiding double consuming depend on external 
DB like Redis or others.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to