You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuz10 (via GitHub)" <gi...@apache.org> on 2024/01/31 10:16:34 UTC

Re: [I] [Bug] report 'PullMessageService - Pull Message Service Run Method exception' in the log, and found some queue do not consume in rocketmq dashboard, [rocketmq]

yuz10 commented on issue #7538:
URL: https://github.com/apache/rocketmq/issues/7538#issuecomment-1918800972

   Please check the consumer code, don't modify message body in consumer callback, for example:
   ```
   consumer.registerMessageListener((MessageListenerConcurrently) (msgs, context) -> {
               msgs.get(0).setBody(new byte[0]);
               return ConsumeConcurrentlyStatus.CONSUME_SUCCESS;
           });
   ```
   the msgSize will be wrong in processqueue,  and pull will be ratelimted forever


-- 
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-unsubscribe@rocketmq.apache.org

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