Oliverwqcwrw commented on code in PR #5769:
URL: https://github.com/apache/rocketmq/pull/5769#discussion_r1057594259
##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java:
##########
@@ -102,6 +98,10 @@ public void cleanExpiredMsg(DefaultMQPushConsumer
pushConsumer) {
log.error("getExpiredMsg exception", e);
}
+ if (msg == null) {
+ break;
Review Comment:
The rest of msgTreeMap's messages can't be processed after the loop
terminates,
Is it OK to skip processing message that are currently empty?
--
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]