cserwen commented on issue #5268:
URL: https://github.com/apache/rocketmq/issues/5268#issuecomment-1726784945

   > > If non-POP patterns . It means is PULL pattern . PULL pattern is one 
consumer match one queue . One-on-one . I think it can avoid that issue.
   > 
   > Even though a consumer match a queue, message-1 fails to consume and is 
sent to the delay queue, message-2 may be consumed before message-1.
   
   In pull model of orderly consumption, the msg which is failed to consume 
will not enter the retry queue, it will only be retried locally.
   Looking at the current impl in the code, the message queue will be locked 
when clent pops msgs. This can ensure that only one client pulls messages at 
the same time, but there is no guarantee that only one client is consuming the 
queue at the same time.
   Maybe I missed the code, can anyone explain it?
   


-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to