lixianli1987 opened a new issue, #682:
URL: https://github.com/apache/rocketmq-spring/issues/682

   My consume code is  follows
   `
   public class HrConsumeListener implements MessageListenerConcurrently {
       @Override
       public ConsumeConcurrentlyStatus consumeMessage(List<MessageExt> list, 
ConsumeConcurrentlyContext consumeConcurrentlyContext) {
           try {
               list.forEach(messageExt -> {
                   System.out.println(messageExt);
               });
               int i = 1/0;
               return ConsumeConcurrentlyStatus.CONSUME_SUCCESS;
           }catch (Exception e){
               System.out.println("消费失败,offset不移动");
               return ConsumeConcurrentlyStatus.RECONSUME_LATER;
           }
       }
   }
   `
   When consum fails, consumOffset still moves,I don't think it should move,but 
why?
   
![AAORB}FO}(DOO`0)N~{ZIH7](https://github.com/user-attachments/assets/580597d1-fccb-49ba-8f5b-d512993f16af)
   


-- 
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