You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/06 13:55:03 UTC
[GitHub] [pulsar] eolivelli commented on issue #16421: Shared subscription + Batch messages: consumerFlow trigger reading the same messages from storage
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org