You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/01/11 21:30:38 UTC
[GitHub] [pulsar] zbentley opened a new issue, #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
zbentley opened a new issue, #19196:
URL: https://github.com/apache/pulsar/issues/19196
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### What issue do you find in Pulsar docs?
[This reference](https://pulsar.apache.org/docs/2.10.x/pulsar-admin/#set-backlog-quota) requests the following command:
```bash
pulsar-admin namespaces set-backlog-quota my-tenant/my-ns \
--limitTime 3600 \
--policy producer_request_hold \
--type message_age
```
That command does not work, and results in this error:
`The following option is required: [-l | --limit]`
### What is your suggestion?
1. The command should work.
2. Command examples should be provided that *only* adjust size-based thresholds.
3. Command examples should be provided that *only* adjust time-based thresholds.
4. Command examples should be provided that adjust *both* time- and size-based thresholds.
### Any reference?
https://pulsar.apache.org/docs/2.10.x/pulsar-admin/#set-backlog-quota
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui closed issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
Posted by "codelipenghui (via GitHub)" <gi...@apache.org>.
codelipenghui closed issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
URL: https://github.com/apache/pulsar/issues/19196
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun commented on issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #19196:
URL: https://github.com/apache/pulsar/issues/19196#issuecomment-1381433140
cc @labuladong @nodece
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] zbentley commented on issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
Posted by GitBox <gi...@apache.org>.
zbentley commented on issue #19196:
URL: https://github.com/apache/pulsar/issues/19196#issuecomment-1384201904
@tisonkun that would make the command valid, but ideally examples would exist for all three limit cases: just size, just time, and both.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun commented on issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #19196:
URL: https://github.com/apache/pulsar/issues/19196#issuecomment-1381434775
Perhaps also place a `--limit 2G` above?
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] labuladong commented on issue #19196: [Doc] 2.10* docs provide incorrect command for `namespace set-backlog-quota`
Posted by GitBox <gi...@apache.org>.
labuladong commented on issue #19196:
URL: https://github.com/apache/pulsar/issues/19196#issuecomment-1398018127
> but ideally examples would exist for all three limit cases: just size, just time, and both.
I agree. I think this is a bug in the admin interface, I'll create a pr to fix it.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org