You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2023/02/10 16:05:56 UTC

[pulsar-site] branch main updated: Fix set-persistent admin doc (#405)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 59e304f2368 Fix set-persistent admin doc (#405)
59e304f2368 is described below

commit 59e304f236884be1e411084f2b3781da0f6d5d72
Author: tison <wa...@gmail.com>
AuthorDate: Sat Feb 11 00:05:50 2023 +0800

    Fix set-persistent admin doc (#405)
    
    Signed-off-by: tison <wa...@gmail.com>
---
 docs/admin-api-namespaces.md   |  8 ++++----
 docs/reference-pulsar-admin.md | 24 ++++++++++++------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/docs/admin-api-namespaces.md b/docs/admin-api-namespaces.md
index dc7b3f0c5a8..95f5a4d1722 100644
--- a/docs/admin-api-namespaces.md
+++ b/docs/admin-api-namespaces.md
@@ -385,13 +385,13 @@ admin.namespaces().removeBacklogQuota(namespace, backlogQuotaType)
 
 Persistence policies allow users to configure persistency-level for all topic messages under a given namespace.
 
-  -   Bookkeeper-ack-quorum: Number of acks (guaranteed copies) to wait for each entry, default: 0
+  -   Bookkeeper-ack-quorum: Number of acks (guaranteed copies) to wait for each entry, default: 2
 
-  -   Bookkeeper-ensemble: Number of bookies to use for a topic, default: 0
+  -   Bookkeeper-ensemble: Number of bookies to use for a topic, default: 2
 
-  -   Bookkeeper-write-quorum: How many writes to make of each entry, default: 0
+  -   Bookkeeper-write-quorum: How many writes to make of each entry, default: 2
 
-  -   Ml-mark-delete-max-rate: Throttling rate of mark-delete operation (0 means no throttle), default: 0.0
+  -   Ml-mark-delete-max-rate: Throttling rate of mark-delete operation (0 means no throttle), default: 0
 
 ````mdx-code-block
 <Tabs groupId="api-choice"
diff --git a/docs/reference-pulsar-admin.md b/docs/reference-pulsar-admin.md
index 1e497951832..043e24e4e21 100644
--- a/docs/reference-pulsar-admin.md
+++ b/docs/reference-pulsar-admin.md
@@ -1298,12 +1298,12 @@ pulsar-admin namespaces set-persistence tenant/namespace options
 
 Options
 
-|Flag|Description|Default|
-|----|---|---|
-|`-a`, `--bookkeeper-ack-quorum`|The number of acks (guaranteed copies) to wait for each entry|0|
-|`-e`, `--bookkeeper-ensemble`|The number of bookies to use for a topic|0|
-|`-w`, `--bookkeeper-write-quorum`|How many writes to make of each entry|0|
-|`-r`, `--ml-mark-delete-max-rate`|Throttling rate of mark-delete operation (0 means no throttle)||
+| Flag                              | Description                                                    | Default |
+|-----------------------------------|----------------------------------------------------------------|---------|
+| `-a`, `--bookkeeper-ack-quorum`   | The number of acks (guaranteed copies) to wait for each entry  | 2       |
+| `-e`, `--bookkeeper-ensemble`     | The number of bookies to use for a topic                       | 2       |
+| `-w`, `--bookkeeper-write-quorum` | How many writes to make of each entry                          | 2       |
+| `-r`, `--ml-mark-delete-max-rate` | Throttling rate of mark-delete operation (0 means no throttle) | 0       |
 
 
 ### `get-message-ttl`
@@ -2708,12 +2708,12 @@ pulsar-admin topics set-persistence tenant/namespace/topic options
 
 Options
 
-|Flag|Description|Default|
-|----|---|---|
-|`-e`, `--bookkeeper-ensemble`|Number of bookies to use for a topic|0|
-|`-w`, `--bookkeeper-write-quorum`|How many writes to make of each entry|0|
-|`-a`, `--bookkeeper-ack-quorum`|Number of acks (guaranteed copies) to wait for each entry|0|
-|`-r`, `--ml-mark-delete-max-rate`|Throttling rate of mark-delete operation (0 means no throttle)||
+| Flag                              | Description                                                    | Default |
+|-----------------------------------|----------------------------------------------------------------|---------|
+| `-e`, `--bookkeeper-ensemble`     | Number of bookies to use for a topic                           | 2       |
+| `-w`, `--bookkeeper-write-quorum` | How many writes to make of each entry                          | 2       |
+| `-a`, `--bookkeeper-ack-quorum`   | Number of acks (guaranteed copies) to wait for each entry      | 2       |
+| `-r`, `--ml-mark-delete-max-rate` | Throttling rate of mark-delete operation (0 means no throttle) | 0       |
 
 ### `remove-persistence`
 Remove the persistence policy for a topic.