momo-jun commented on code in PR #394:
URL: https://github.com/apache/pulsar-site/pull/394#discussion_r1095306953


##########
docs/reference-pulsar-admin.md:
##########
@@ -1240,26 +1240,29 @@ pulsar-admin namespaces set-backlog-quota 
tenant/namespace options
 
 Options
 
-|Flag|Description|Default|
-|----|---|---|
-|`-l`, `--limit`|The backlog size limit (for example `10M` or `16G`)||
-|`-lt`, `--limitTime`|Time limit in second (or minutes, hours, days, weeks eg: 
100m, 3h, 2d, 5w), non-positive number for disabling time limit. (for example 
3600 for 1 hour)||
-|`-p`, `--policy`|The retention policy to enforce when the limit is reached. 
The valid options are: `producer_request_hold`, `producer_exception` or 
`consumer_backlog_eviction`|
-|`-t`, `--type`|Backlog quota type to set. The valid options are: 
`destination_storage`, `message_age` |destination_storage|
+| Flag                 | Description                                           
                                                                                
                                                               | Default        
     |
+|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
+| `-t`, `--type`       | Backlog quota type to set. The valid options are: 
`destination_storage`, `message_age`                                            
                                                                   | 
destination_storage |
+| `-l`, `--limit`      | If you set backlog quota type to 
`destination_storage`, this parameter can set the backlog size limit (for 
example `10M` or `16G`), non-positive number for disabling size limit.          
          ||
+| `-lt`, `--limitTime` | If you set backlog quota type to `message_age`, this 
parameter can set the time limit in second (or minutes, hours, days, weeks eg: 
100m, 3h, 2d, 5w), non-positive number for disabling time limit. ||
+| `-p`, `--policy`     | The retention policy to enforce when the limit is 
reached. The valid options are: `producer_request_hold`, `producer_exception` 
or `consumer_backlog_eviction`                                       |
+
+If you want set both time limit and size limit, you can set them separately.

Review Comment:
   ```suggestion
   If you want to set both the time limit and the size limit, you need to set 
them separately.
   ```



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