3pacccccc commented on code in PR #24610:
URL: https://github.com/apache/pulsar/pull/24610#discussion_r2259194899


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ZeroQueueConsumerImpl.java:
##########
@@ -215,4 +215,18 @@ protected void setCurrentReceiverQueueSize(int newSize) {
         //receiver queue size is fixed as 0.
         throw new NotImplementedException("Receiver queue size can't be 
changed in ZeroQueueConsumerImpl");
     }
+
+    @Override
+    protected void processPayloadByProcessor(BrokerEntryMetadata 
brokerEntryMetadata,
+                                             MessageMetadata messageMetadata, 
ByteBuf byteBuf,
+                                             MessageIdImpl messageId, 
Schema<T> schema,
+                                             int redeliveryCount, List<Long> 
ackSet, long consumerEpoch) {
+        if (this.isBatch(messageMetadata)) {
+            this.receiveIndividualMessagesFromBatch(brokerEntryMetadata,
+                    messageMetadata, redeliveryCount, ackSet, byteBuf, null, 
null, consumerEpoch, false);

Review Comment:
   thanks for the suggestion, much better handling! @lhotari 



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