yuruguo opened a new pull request #13543:
URL: https://github.com/apache/pulsar/pull/13543


   ### Motivation
   Currently, the remaining old values will be invalid when we update some 
values of the resource group, it is as follows:
   **step 1**
   ```
   bin/pulsar-admin resourcegroups create --msg-publish-rate 100 
--byte-publish-rate 1024 --msg-dispatch-rate 200 --byte-dispatch-rate 2048 
rg-test-01
   ```
   | option | value |
   | ------ | ------ |
   | msg-publish-rate | 100 |
   | byte-publish-rate | 1024 |
   | msg-dispatch-rate | 200 |
   | byte-dispatch-rate | 2048 |
   
   **step 2**
   ```
   bin/pulsar-admin resourcegroups update --msg-publish-rate 150 rg-test-01
   ```
   | option | value |
   | ------ | ------ |
   | msg-publish-rate | 150 |
   | byte-publish-rate | -1 |
   | msg-dispatch-rate | -1 |
   | byte-dispatch-rate | -1 |
   
   The purpose of this PR is to ensure other old values are still valid when 
updating resource group.
   **NOTE**:  #12242 and #12251  are similar to this PR.
   
   ### Documentation
   - [x] `no-need-doc` 
   
   


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