congbobo184 opened a new pull request #11135:
URL: https://github.com/apache/pulsar/pull/11135


   ## 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: [email protected]

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


Reply via email to