-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Add doc on how to configure max subscriptions per topic at the topic level #9748
Changes from 1 commit
14aead6
82175c0
027cbb7
6fa3c4a
1e575b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1852,6 +1852,9 @@ Subcommands | |
* `get-inactive-topic-policies` | ||
* `set-inactive-topic-policies` | ||
* `remove-inactive-topic-policies` | ||
* `set-max-subscriptions` | ||
* `get-max-subscriptions` | ||
* `remove-max-subscriptions` | ||
|
||
### `compact` | ||
Run compaction on the specified topic (persistent topics only) | ||
|
@@ -2383,6 +2386,30 @@ Usage | |
$ pulsar-admin topics remove-deduplication tenant/namespace/topic | ||
``` | ||
|
||
### `set-max-subscriptions` | ||
Set the maximum number of subscriptions for a topic. | ||
|
||
Usage | ||
```bash | ||
$ pulsar-admin topics set-max-subscriptions tenant/namespace/topic options | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks good, but I have some questions: If we use this command,a topic name should be passed in here, such as: The entire command looks like this: |
||
``` | ||
|
||
### `get-max-subscriptions` | ||
Get the maximum number of subscriptions for a topic. | ||
|
||
Usage | ||
```bash | ||
$ pulsar-admin topics get-max-subscriptions tenant/namespace/topic | ||
``` | ||
|
||
### `remove-max-subscriptions` | ||
Remove the maximum number of subscriptions for a topic. | ||
|
||
Usage | ||
```bash | ||
$ pulsar-admin topics remove-max-subscriptions tenant/namespace/topic | ||
``` | ||
|
||
## `tenants` | ||
Operations for managing tenants | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add them to pulsar-admin website? or is
set-max-subscriptions
same toset-max-subscriptions-per-topic
? Same comments for the other two commands.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set-max-subscriptions
is the same toset-max-subscriptions-per-topic
, fixed in PR #9750