gaoran10 opened a new pull request #11249:
URL: https://github.com/apache/pulsar/pull/11249


   The PR #11135 couldn't be cherry-picked to branch-2.7, because there are too 
many conflicts.
   
   ## Motivation
   
   fix https://github.com/apache/pulsar/issues/11044
   now dispatcher byte rate limit don't limit every cursor read. When cursor 
read always use `ServiceConfiguration.dispatcherMaxReadSizeBytes` to read. It 
will cause that  dispatcher read entries by 
`ServiceConfiguration.dispatcherMaxReadSizeBytes` to read every time.
   
   ## implement
   
   when cursor read entries size need to calculate, the calculate result by 
dispatcher bytes limiter.
   
   ### Verifying this change
   
   Add the tests for it
   
   ### Does this pull request potentially affect one of the following parts:
   
   If yes was chosen, please highlight the changes
   
   Dependencies (does it add or upgrade a dependency): (no)
   The public API: (no)
   The schema: (no)
   The default values of configurations: (no)
   The wire protocol: (no)
   The rest endpoints: (no)
   The admin cli options: (no)
   Anything that affects deployment: (no)
   
   


-- 
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-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to