eolivelli commented on issue #16421:
URL: https://github.com/apache/pulsar/issues/16421#issuecomment-1176252645

   The problem is here, when you use MessageListener we increase permits of 1, 
even for Messages that are part of a batch.
   
   
https://github.com/apache/pulsar/blob/926834ef8b2b57d3964aa7e9773e6245bcee861c/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBase.java#L1087
   
   So the problem is mostly with the MessageListener API, used by pulsar-perf 
(and also OpenMessaging benchmark)


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