qianye1001 commented on code in PR #1082:
URL: https://github.com/apache/rocketmq-clients/pull/1082#discussion_r2305979462


##########
java/client/src/main/java/org/apache/rocketmq/client/java/impl/consumer/ProcessQueueImpl.java:
##########
@@ -256,8 +259,42 @@ public void onSuccess(ReceiveMessageResult result) {
                             new MessageInterceptorContextImpl(context, 
MessageHookPointsStatus.OK);
                         consumer.doAfter(context0, generalMessages);
 
+                        final Set<MessageId> filteredMessageIds = 
generalMessages.stream()

Review Comment:
   Adding switches to ensure that there is no additional performance overhead 
when the switch is not turned on.



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