This is an automated email from the ASF dual-hosted git repository.
yong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new df49876 [DOCS] - Update the topic-level policies (#9530)
df49876 is described below
commit df498769a1cf54688644626a73830948ddc33c9f
Author: sijia-w <[email protected]>
AuthorDate: Sat Mar 6 03:32:43 2021 +0100
[DOCS] - Update the topic-level policies (#9530)
Fixes #8899
Update the description of the newly added topic-level policies in #2688.
This pr fixes https://github.com/apache/pulsar/pull/9161, the branch of
which was deleted incorrectly.
---
site2/docs/reference-pulsar-admin.md | 96 +++---
.../version-2.7.0/reference-pulsar-admin.md | 304 ++++++++++++++++---
.../version-2.7.1/reference-pulsar-admin.md | 332 ++++++++++++++++++---
3 files changed, 590 insertions(+), 142 deletions(-)
diff --git a/site2/docs/reference-pulsar-admin.md
b/site2/docs/reference-pulsar-admin.md
index 395cbd8..8228c5f 100644
--- a/site2/docs/reference-pulsar-admin.md
+++ b/site2/docs/reference-pulsar-admin.md
@@ -1878,24 +1878,12 @@ Subcommands
* `get-deduplication`
* `set-deduplication`
* `remove-deduplication`
-* `get-max-producers`
-* `set-max-producers`
-* `remove-max-producers`
-* `get-max-consumers`
-* `set-max-consumers`
-* `remove-max-consumers`
* `get-retention`
* `set-retention`
* `remove-retention`
* `get-dispatch-rate`
* `set-dispatch-rate`
* `remove-dispatch-rate`
-* `get-compaction-threshold`
-* `set-compaction-threshold`
-* `remove-compaction-threshold`
-* `get-offload-policies`
-* `set-offload-policies`
-* `remove-offload-policies`
* `get-max-unacked-messages-per-subscription`
* `set-max-unacked-messages-per-subscription`
* `remove-max-unacked-messages-per-subscription`
@@ -1905,6 +1893,18 @@ Subcommands
* `get-delayed-delivery`
* `set-delayed-delivery`
* `remove-delayed-delivery`
+* `get-max-producers`
+* `set-max-producers`
+* `remove-max-producers`
+* `get-max-consumers`
+* `set-max-consumers`
+* `remove-max-consumers`
+* `get-compaction-threshold`
+* `set-compaction-threshold`
+* `remove-compaction-threshold`
+* `get-offload-policies`
+* `set-offload-policies`
+* `remove-offload-policies`
* `get-inactive-topic-policies`
* `set-inactive-topic-policies`
* `remove-inactive-topic-policies`
@@ -1965,7 +1965,7 @@ Options
### `create-partitioned-topic`
Create a partitioned topic. A partitioned topic must be created before
producers can publish to it.
-> #### Note
+> **Note**
>
> By default, after 60 seconds of creation, topics are considered inactive and
> deleted automatically to prevent from generating trash data.
>
@@ -2005,7 +2005,7 @@ $ pulsar-admin topics delete-partitioned-topic
{persistent|non-persistent}
### `create`
Creates a non-partitioned topic. A non-partitioned topic must explicitly be
created by the user if allowAutoTopicCreation or createIfMissing is disabled.
-> #### Note
+> **Note**
>
> By default, after 60 seconds of creation, topics are considered inactive and
> deleted automatically to prevent from generating trash data.
>
@@ -2303,14 +2303,6 @@ Options
|`-t`, `--time`|The time in minutes to reset back to (or minutes, hours, days,
weeks, etc.). Examples: `100m`, `3h`, `2d`, `5w`.||
|`-m`, `--messageId`| The messageId to reset back to (ledgerId:entryId). ||
-### `last-message-id`
-Get the last commit message id of topic.
-
-Usage
-```bash
-$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
-```
-
### `get-message-by-id`
Get message by ledger id and entry id
@@ -2326,6 +2318,14 @@ Options
|`-l`, `--ledgerId`|The ledger id |0|
|`-e`, `--entryId`|The entry id |0|
+### `last-message-id`
+Get the last commit message ID of the topic.
+
+Usage
+```bash
+$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
+```
+
### `get-backlog-quotas`
Get the backlog quota policies for a topic.
@@ -2340,29 +2340,8 @@ Set a backlog quota policy for a topic.
Usage
```bash
$ pulsar-admin topics set-backlog-quota tenant/namespace/topic options
-=======
-### `get-deduplication`
-Get a deduplication policy for a topic.
-
-Usage
-```bash
-$ pulsar-admin topics get-deduplication tenant/namespace/topic
-```
-
-### `set-deduplication`
-Enable or disable message deduplication on a topic.
-
-Usage
-```bash
-$ pulsar-admin topics set-deduplication tenant/namespace/topic
```
-Options
-|Flag|Description|Default|
-|----|---|---|
-|`-l`, `--limit`|Size limit (eg: 10M, 16G)", required = true)||
-|`-p`, `--policy`|Retention policy to enforce when the limit is reached. The
valid options are: `producer_request_hold`, `producer_exception` or
`consumer_backlog_eviction`|
-
### `remove-backlog-quota`
Remove a backlog quota policy from a topic.
@@ -2428,42 +2407,40 @@ Remove the message TTL for a topic.
Usage
```bash
-$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
-=======
+$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
+```
+
+Options
+|Flag|Description|Default|
|---|---|---|
|`--enable`, `-e`|Enable message deduplication on the specified topic.|false|
|`--disable`, `-d`|Disable message deduplication on the specified topic.|false|
-### `remove-deduplication`
-Remove a deduplication policy from a topic.
+### `get-deduplication`
+Get a deduplication policy for a topic.
Usage
```bash
-$ pulsar-admin topics remove-deduplication tenant/namespace/topic
+$ pulsar-admin topics get-deduplication tenant/namespace/topic
```
-### `set-max-subscriptions`
-Set the maximum number of subscriptions for a topic.
+### `set-deduplication`
+Set a deduplication policy for a topic.
Usage
```bash
-$ pulsar-admin topics set-max-subscriptions
{persistent|non-persistent}://tenant/namespace/topic options
+$ pulsar-admin topics set-deduplication tenant/namespace/topic options
```
-### `get-max-subscriptions`
-Get the maximum number of subscriptions for a topic.
+### `remove-deduplication`
+Remove a deduplication policy for a topic.
Usage
```bash
-$ pulsar-admin topics get-max-subscriptions
{persistent|non-persistent}://tenant/namespace/topic
+$ pulsar-admin topics remove-deduplication tenant/namespace/topic
```
-### `remove-max-subscriptions`
-Remove the maximum number of subscriptions for a topic.
-Usage
-```bash
-$ pulsar-admin topics remove-max-subscriptions
{persistent|non-persistent}://tenant/namespace/topic
```
## `tenants`
@@ -2671,3 +2648,4 @@ Options
|`-c`, `--classname`|The Java class name||
|`-j`, `--jar`|A path to the JAR file which contains the above Java class||
|`-t`, `--type`|The type of the schema (avro or json)||
+
diff --git
a/site2/website/versioned_docs/version-2.7.0/reference-pulsar-admin.md
b/site2/website/versioned_docs/version-2.7.0/reference-pulsar-admin.md
index fa1dd31..3a14478 100644
--- a/site2/website/versioned_docs/version-2.7.0/reference-pulsar-admin.md
+++ b/site2/website/versioned_docs/version-2.7.0/reference-pulsar-admin.md
@@ -2265,16 +2265,8 @@ Options
|`-t`, `--time`|The time in minutes to reset back to (or minutes, hours, days,
weeks, etc.). Examples: `100m`, `3h`, `2d`, `5w`.||
|`-m`, `--messageId`| The messageId to reset back to (ledgerId:entryId). ||
-### `last-message-id`
-Get the last commit message id of topic.
-
-Usage
-```bash
-$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
-```
-
### `get-message-by-id`
-Get message by ledger id and entry id
+Get message by ledger ID and entry ID.
Usage
```bash
@@ -2288,6 +2280,14 @@ Options
|`-l`, `--ledgerId`|The ledger id |0|
|`-e`, `--entryId`|The entry id |0|
+### `last-message-id`
+Get the last commit message ID of the topic.
+
+Usage
+```bash
+$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
+```
+
### `get-backlog-quotas`
Get the backlog quota policies for a topic.
@@ -2302,29 +2302,8 @@ Set a backlog quota policy for a topic.
Usage
```bash
$ pulsar-admin topics set-backlog-quota tenant/namespace/topic options
-=======
-### `get-deduplication`
-Get a deduplication policy for a topic.
-
-Usage
-```bash
-$ pulsar-admin topics get-deduplication tenant/namespace/topic
```
-### `set-deduplication`
-Enable or disable message deduplication on a topic.
-
-Usage
-```bash
-$ pulsar-admin topics set-deduplication tenant/namespace/topic
-```
-
-Options
-|Flag|Description|Default|
-|----|---|---|
-|`-l`, `--limit`|Size limit (eg: 10M, 16G)", required = true)||
-|`-p`, `--policy`|Retention policy to enforce when the limit is reached. The
valid options are: `producer_request_hold`, `producer_exception` or
`consumer_backlog_eviction`|
-
### `remove-backlog-quota`
Remove a backlog quota policy from a topic.
@@ -2390,20 +2369,273 @@ Remove the message TTL for a topic.
Usage
```bash
-$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
-=======
-|---|---|---|
-|`--enable`, `-e`|Enable message deduplication on the specified topic.|false|
-|`--disable`, `-d`|Disable message deduplication on the specified topic.|false|
+$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
+```
+
+### `get-deduplication`
+Get a deduplication policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-deduplication tenant/namespace/topic
+```
+
+### `set-deduplication`
+Set a deduplication policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-deduplication tenant/namespace/topic options
+```
### `remove-deduplication`
-Remove a deduplication policy from a topic.
+Remove a deduplication policy for a topic.
Usage
```bash
$ pulsar-admin topics remove-deduplication tenant/namespace/topic
```
+### `get-retention`
+Get the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-retention tenant/namespace/topic
+```
+
+### `set-retention`
+Set the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-retention tenant/namespace/topic options
+```
+
+### `remove-retention`
+Remove the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-retention tenant/namespace/topic
+```
+
+### `get-dispatch-rate`
+Get the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-dispatch-rate tenant/namespace/topic
+```
+
+### `set-dispatch-rate`
+Set the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-dispatch-rate tenant/namespace/topic options
+```
+
+### `remove-dispatch-rate`
+Remove the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-dispatch-rate tenant/namespace/topic
+```
+
+### `get-max-unacked-messages-per-subscription`
+Get the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-unacked-messages-per-subscription
tenant/namespace/topic
+```
+
+### `set-max-unacked-messages-per-subscription`
+Set the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-unacked-messages-per-subscription
tenant/namespace/topic options
+```
+
+### `remove-max-unacked-messages-per-subscription`
+Remove the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-unacked-messages-per-subscription
tenant/namespace/topic
+```
+
+### `get-max-unacked-messages-per-consumer`
+Get the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-unacked-messages-per-consumer
tenant/namespace/topic
+```
+
+### `set-max-unacked-messages-per-consumer`
+Set the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-unacked-messages-per-consumer
tenant/namespace/topic options
+```
+
+### `remove-max-unacked-messages-per-consumer`
+Remove the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-unacked-messages-per-consumer
tenant/namespace/topic
+```
+
+### `get-delayed-delivery`
+Get the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-delayed-delivery tenant/namespace/topic
+```
+
+### `set-delayed-delivery`
+Set the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-delayed-delivery tenant/namespace/topic options
+```
+
+### `remove-delayed-delivery`
+Remove the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-delayed-delivery tenant/namespace/topic
+```
+
+### `get-max-producers`
+Get the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-producers tenant/namespace/topic
+```
+
+### `set-max-producers`
+Set the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-producers tenant/namespace/topic options
+```
+
+### `remove-max-producers`
+Remove the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-producers tenant/namespace/topic
+```
+
+### `get-max-consumers`
+Get the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-consumers tenant/namespace/topic
+```
+
+### `set-max-consumers`
+Set the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-consumers tenant/namespace/topic options
+```
+
+### `remove-max-consumers`
+Remove the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-consumers tenant/namespace/topic
+```
+
+### `get-compaction-threshold`
+Get compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-compaction-threshold tenant/namespace/topic
+```
+
+### `set-compaction-threshold`
+Set compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-compaction-threshold tenant/namespace/topic options
+```
+
+### `remove-compaction-threshold`
+Remove compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-compaction-threshold tenant/namespace/topic
+```
+
+### `get-offload-policies`
+Get the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-offload-policies tenant/namespace/topic
+```
+
+### `set-offload-policies`
+Set the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-offload-policies tenant/namespace/topic
+```
+
+### `remove-offload-policies`
+Remove the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-offload-policies tenant/namespace/topic
+```
+
+### `get-inactive-topic-policies`
+Get the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-inactive-topic-policies tenant/namespace/topic
+```
+
+### `set-inactive-topic-policies`
+Set the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-inactive-topic-policies tenant/namespace/topic
+```
+
+### `remove-inactive-topic-policies`
+Remove the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-inactive-topic-policies tenant/namespace/topic
+```
+
## `tenants`
Operations for managing tenants
diff --git
a/site2/website/versioned_docs/version-2.7.1/reference-pulsar-admin.md
b/site2/website/versioned_docs/version-2.7.1/reference-pulsar-admin.md
index c58cb9b..2996283 100644
--- a/site2/website/versioned_docs/version-2.7.1/reference-pulsar-admin.md
+++ b/site2/website/versioned_docs/version-2.7.1/reference-pulsar-admin.md
@@ -1901,24 +1901,12 @@ Subcommands
* `get-deduplication`
* `set-deduplication`
* `remove-deduplication`
-* `get-max-producers`
-* `set-max-producers`
-* `remove-max-producers`
-* `get-max-consumers`
-* `set-max-consumers`
-* `remove-max-consumers`
* `get-retention`
* `set-retention`
* `remove-retention`
* `get-dispatch-rate`
* `set-dispatch-rate`
* `remove-dispatch-rate`
-* `get-compaction-threshold`
-* `set-compaction-threshold`
-* `remove-compaction-threshold`
-* `get-offload-policies`
-* `set-offload-policies`
-* `remove-offload-policies`
* `get-max-unacked-messages-per-subscription`
* `set-max-unacked-messages-per-subscription`
* `remove-max-unacked-messages-per-subscription`
@@ -1928,6 +1916,18 @@ Subcommands
* `get-delayed-delivery`
* `set-delayed-delivery`
* `remove-delayed-delivery`
+* `get-max-producers`
+* `set-max-producers`
+* `remove-max-producers`
+* `get-max-consumers`
+* `set-max-consumers`
+* `remove-max-consumers`
+* `get-compaction-threshold`
+* `set-compaction-threshold`
+* `remove-compaction-threshold`
+* `get-offload-policies`
+* `set-offload-policies`
+* `remove-offload-policies`
* `get-inactive-topic-policies`
* `set-inactive-topic-policies`
* `remove-inactive-topic-policies`
@@ -1988,7 +1988,7 @@ Options
### `create-partitioned-topic`
Create a partitioned topic. A partitioned topic must be created before
producers can publish to it.
-> #### Note
+> **Note**
>
> By default, after 60 seconds of creation, topics are considered inactive and
> deleted automatically to prevent from generating trash data.
>
@@ -2028,7 +2028,7 @@ $ pulsar-admin topics delete-partitioned-topic
{persistent|non-persistent}
### `create`
Creates a non-partitioned topic. A non-partitioned topic must explicitly be
created by the user if allowAutoTopicCreation or createIfMissing is disabled.
-> #### Note
+> **Note**
>
> By default, after 60 seconds of creation, topics are considered inactive and
> deleted automatically to prevent from generating trash data.
>
@@ -2326,16 +2326,8 @@ Options
|`-t`, `--time`|The time in minutes to reset back to (or minutes, hours, days,
weeks, etc.). Examples: `100m`, `3h`, `2d`, `5w`.||
|`-m`, `--messageId`| The messageId to reset back to (ledgerId:entryId). ||
-### `last-message-id`
-Get the last commit message id of topic.
-
-Usage
-```bash
-$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
-```
-
### `get-message-by-id`
-Get message by ledger id and entry id
+Get message by ledger ID and entry ID.
Usage
```bash
@@ -2349,6 +2341,14 @@ Options
|`-l`, `--ledgerId`|The ledger id |0|
|`-e`, `--entryId`|The entry id |0|
+### `last-message-id`
+Get the last commit message ID of the topic.
+
+Usage
+```bash
+$ pulsar-admin topics last-message-id persistent://tenant/namespace/topic
+```
+
### `get-backlog-quotas`
Get the backlog quota policies for a topic.
@@ -2363,29 +2363,8 @@ Set a backlog quota policy for a topic.
Usage
```bash
$ pulsar-admin topics set-backlog-quota tenant/namespace/topic options
-=======
-### `get-deduplication`
-Get a deduplication policy for a topic.
-
-Usage
-```bash
-$ pulsar-admin topics get-deduplication tenant/namespace/topic
```
-### `set-deduplication`
-Enable or disable message deduplication on a topic.
-
-Usage
-```bash
-$ pulsar-admin topics set-deduplication tenant/namespace/topic
-```
-
-Options
-|Flag|Description|Default|
-|----|---|---|
-|`-l`, `--limit`|Size limit (eg: 10M, 16G)", required = true)||
-|`-p`, `--policy`|Retention policy to enforce when the limit is reached. The
valid options are: `producer_request_hold`, `producer_exception` or
`consumer_backlog_eviction`|
-
### `remove-backlog-quota`
Remove a backlog quota policy from a topic.
@@ -2451,14 +2430,33 @@ Remove the message TTL for a topic.
Usage
```bash
-$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
-=======
+$ pulsar-admin topics remove-message-ttl tenant/namespace/topic
+```
+
+Options
+|Flag|Description|Default|
|---|---|---|
|`--enable`, `-e`|Enable message deduplication on the specified topic.|false|
|`--disable`, `-d`|Disable message deduplication on the specified topic.|false|
+### `get-deduplication`
+Get a deduplication policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-deduplication tenant/namespace/topic
+```
+
+### `set-deduplication`
+Set a deduplication policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-deduplication tenant/namespace/topic options
+```
+
### `remove-deduplication`
-Remove a deduplication policy from a topic.
+Remove a deduplication policy for a topic.
Usage
```bash
@@ -2488,6 +2486,246 @@ Usage
$ pulsar-admin topics remove-max-subscriptions
{persistent|non-persistent}://tenant/namespace/topic
```
+### `get-retention`
+Get the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-retention tenant/namespace/topic
+```
+
+### `set-retention`
+Set the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-retention tenant/namespace/topic options
+```
+
+### `remove-retention`
+Remove the retention policy that is applied to a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-retention tenant/namespace/topic
+```
+
+### `get-dispatch-rate`
+Get the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-dispatch-rate tenant/namespace/topic
+```
+
+### `set-dispatch-rate`
+Set the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-dispatch-rate tenant/namespace/topic options
+```
+
+### `remove-dispatch-rate`
+Remove the message dispatch rate for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-dispatch-rate tenant/namespace/topic
+```
+
+### `get-max-unacked-messages-per-subscription`
+Get the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-unacked-messages-per-subscription
tenant/namespace/topic
+```
+
+### `set-max-unacked-messages-per-subscription`
+Set the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-unacked-messages-per-subscription
tenant/namespace/topic options
+```
+
+### `remove-max-unacked-messages-per-subscription`
+Remove the maximum number of unacked messages per subscription for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-unacked-messages-per-subscription
tenant/namespace/topic
+```
+
+### `get-max-unacked-messages-per-consumer`
+Get the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-unacked-messages-per-consumer
tenant/namespace/topic
+```
+
+### `set-max-unacked-messages-per-consumer`
+Set the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-unacked-messages-per-consumer
tenant/namespace/topic options
+```
+
+### `remove-max-unacked-messages-per-consumer`
+Remove the maximum number of unacked messages per consumer for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-unacked-messages-per-consumer
tenant/namespace/topic
+```
+
+### `get-delayed-delivery`
+Get the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-delayed-delivery tenant/namespace/topic
+```
+
+### `set-delayed-delivery`
+Set the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-delayed-delivery tenant/namespace/topic options
+```
+
+### `remove-delayed-delivery`
+Remove the delayed delivery policy for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-delayed-delivery tenant/namespace/topic
+```
+
+### `get-max-producers`
+Get the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-producers tenant/namespace/topic
+```
+
+### `set-max-producers`
+Set the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-producers tenant/namespace/topic options
+```
+
+### `remove-max-producers`
+Remove the maximum number of producers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-producers tenant/namespace/topic
+```
+
+### `get-max-consumers`
+Get the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-max-consumers tenant/namespace/topic
+```
+
+### `set-max-consumers`
+Set the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-max-consumers tenant/namespace/topic options
+```
+
+### `remove-max-consumers`
+Remove the maximum number of consumers for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-max-consumers tenant/namespace/topic
+```
+
+### `get-compaction-threshold`
+Get compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-compaction-threshold tenant/namespace/topic
+```
+
+### `set-compaction-threshold`
+Set compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-compaction-threshold tenant/namespace/topic options
+```
+
+### `remove-compaction-threshold`
+Remove compaction threshold for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-compaction-threshold tenant/namespace/topic
+```
+
+### `get-offload-policies`
+Get the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-offload-policies tenant/namespace/topic
+```
+
+### `set-offload-policies`
+Set the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-offload-policies tenant/namespace/topic
+```
+
+### `remove-offload-policies`
+Remove the offload policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-offload-policies tenant/namespace/topic
+```
+
+### `get-inactive-topic-policies`
+Get the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics get-inactive-topic-policies tenant/namespace/topic
+```
+
+### `set-inactive-topic-policies`
+Set the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics set-inactive-topic-policies tenant/namespace/topic
+```
+
+### `remove-inactive-topic-policies`
+Remove the inactive policies for a topic.
+
+Usage
+```bash
+$ pulsar-admin topics remove-inactive-topic-policies tenant/namespace/topic
+```
+
## `tenants`
Operations for managing tenants