tjiuming opened a new pull request, #17485:
URL: https://github.com/apache/pulsar/pull/17485

   Fixes https://github.com/apache/pulsar/issues/17362
   
   ### Motivation
   
    Support offload throttling, to prevent offloading use up all the broker 
resources(CPU, network).
   
    From the perspective of generality, we can't limit how many bytes write to 
tiered-storage, it will invade the corresponding implementations(filesystem, 
streaming, etc.). So we can only to limit how many bytes read from ML.
   
   ### Modifications
   
   1. Move `TimeWindow.java`、`WindowWrap.java`、`TimeWindowTest.java` from 
`broker` module to `managed-ledger` module.
   2. Add `managedLedgerGlobalOffloadingPermitBytesPerSecond` configuration, it 
works on the broker level.
   3. Add `globalOffloadingPermitBytesPerSecond` into `ManagedLedgerConfig`.
   
   ### 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: (yes)
     - 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)
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [x] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [ ] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


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