congbobo184 commented on issue #11044:
URL: https://github.com/apache/pulsar/issues/11044#issuecomment-867753183


   hi @anvinjain , now only dispatch-rate-limit-by-msg-number can cumulate 
messagesToRead 
https://github.com/apache/pulsar/blob/0be9d1373f0077286812f2636acf451ee3f10e4b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherSingleActiveConsumer.java#L427
 if want dispatch-rate-limit-by-byte precise, when cumulate messagesToRead by 
the dispatch-rate-limit-by-byte. I think it is a good way to fix it. Do you 
think this is good?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to