mattisonchao commented on code in PR #19571:
URL: https://github.com/apache/pulsar/pull/19571#discussion_r1112453122


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentStickyKeyDispatcherMultipleConsumers.java:
##########
@@ -275,7 +275,7 @@ protected synchronized boolean 
trySendMessagesToConsumers(ReadType readType, Lis
 
                 SendMessageInfo sendMessageInfo = 
SendMessageInfo.getThreadLocal();
                 EntryBatchSizes batchSizes = EntryBatchSizes.get(messagesForC);
-                EntryBatchIndexesAcks batchIndexesAcks = 
EntryBatchIndexesAcks.get(messagesForC);
+                EntryBatchIndexesAcks batchIndexesAcks = 
getEntryBatchIndexesAcks(messagesForC);

Review Comment:
   There is an NPE at line 291



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