lordcheng10 commented on code in PR #17751:
URL: https://github.com/apache/pulsar/pull/17751#discussion_r981249991


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractBaseDispatcher.java:
##########
@@ -115,6 +116,16 @@ public int 
filterEntriesForConsumer(Optional<MessageMetadata[]> optMetadataArray
             if (entry == null) {
                 continue;
             }
+            if (entry instanceof EntryImpl) {
+                EntryImpl entryImpl = (EntryImpl) entry;
+                if (entryImpl.skipped()) {
+                    if (entriesToFiltered == null) {
+                        entriesToFiltered = new ArrayList<>();
+                    }
+                    entriesToFiltered.add(entryImpl.getPosition());

Review Comment:
   OK , I will fix



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