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 2021/01/11 07:29:15 UTC

[GitHub] [pulsar] freeznet commented on a change in pull request #9161: [DOCS] - Update the topic-level policies

freeznet commented on a change in pull request #9161:
URL: https://github.com/apache/pulsar/pull/9161#discussion_r554836459



##########
File path: site2/docs/reference-pulsar-admin.md
##########
@@ -2333,17 +2342,252 @@ Remove the message TTL for a topic.
 Usage
 ```bash
 $ 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-retention`
+Get the retention policy that is applied to a topic.
 
 Usage
 ```bash
-$ pulsar-admin topics remove-deduplication tenant/namespace/topic
+$ 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
+```
+
+### `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 message-dispatch-rate for a topic.

Review comment:
       should remove the `-` here, like "Get message dispatch rate for a topic."




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org