This is an automated email from the ASF dual-hosted git repository.
urfree 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 c6e4750b84d Docs sync done from apache/pulsar (#96fb7da)
c6e4750b84d is described below
commit c6e4750b84d01cc3794c1c29b851e132886ea191
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jan 29 01:36:29 2023 +0000
Docs sync done from apache/pulsar (#96fb7da)
---
static/reference/next/pulsar-admin/namespaces.md | 6 +++---
static/reference/next/pulsar-admin/topicPolicies.md | 6 +++---
static/reference/next/pulsar-admin/topics.md | 10 +++++-----
static/reference/next/pulsar-perf/pulsar-perf.md | 10 +++++-----
static/swagger/master/swagger.json | 6 +++---
static/swagger/master/v2/swagger.json | 6 +++---
6 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/static/reference/next/pulsar-admin/namespaces.md
b/static/reference/next/pulsar-admin/namespaces.md
index 43cfb2d2759..949be7b429d 100644
--- a/static/reference/next/pulsar-admin/namespaces.md
+++ b/static/reference/next/pulsar-admin/namespaces.md
@@ -410,9 +410,9 @@ $ pulsar-admin namespaces set-persistence options
|Flag|Description|Default|
|---|---|---|
-| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|0||
-| `-a, --bookkeeper-ack-quorum` | Number of acks (guaranteed copies) to wait
for each entry|0||
-| `-w, --bookkeeper-write-quorum` | How many writes to make of each entry|0||
+| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|2||
+| `-a, --bookkeeper-ack-quorum` | Number of acks (guaranteed copies) to wait
for each entry|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.0||
diff --git a/static/reference/next/pulsar-admin/topicPolicies.md
b/static/reference/next/pulsar-admin/topicPolicies.md
index b85e95915dd..0cfd9c56d49 100644
--- a/static/reference/next/pulsar-admin/topicPolicies.md
+++ b/static/reference/next/pulsar-admin/topicPolicies.md
@@ -573,9 +573,9 @@ $ pulsar-admin topicPolicies set-persistence options
|---|---|---|
| `-r, --ml-mark-delete-max-rate` | Throttling rate of mark-delete operation
(0 means no throttle)|0.0||
| `--global, -g` | Whether to set this policy globally. If set to true, the
policy will be replicate to other clusters asynchronously|false||
-| `-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||
-| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|0||
+| `-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||
+| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|2||
## <em>remove-persistence</em>
diff --git a/static/reference/next/pulsar-admin/topics.md
b/static/reference/next/pulsar-admin/topics.md
index 8d70f711e97..e190066eb89 100644
--- a/static/reference/next/pulsar-admin/topics.md
+++ b/static/reference/next/pulsar-admin/topics.md
@@ -299,7 +299,7 @@ $ pulsar-admin topics stats options
|Flag|Description|Default|
|---|---|---|
-| `-sbs, --get-subscription-backlog-size` | Set true to get backlog size for
each subscription, locking required.|false||
+| `-sbs, --get-subscription-backlog-size` | Set true to get backlog size for
each subscription, locking required. If set to false, the attribute
'backlogSize' in the response will be -1|true||
| `-gpb, --get-precise-backlog` | Set true to get precise backlog|false||
| `-etb, --get-earliest-time-in-backlog` | Set true to get earliest time in
backlog|false||
@@ -352,7 +352,7 @@ $ pulsar-admin topics partitioned-stats options
|Flag|Description|Default|
|---|---|---|
| `-gpb, --get-precise-backlog` | Set true to get precise backlog|false||
-| `-sbs, --get-subscription-backlog-size` | Set true to get backlog size for
each subscription, locking required.|false||
+| `-sbs, --get-subscription-backlog-size` | Set true to get backlog size for
each subscription, locking required.|true||
| `-etb, --get-earliest-time-in-backlog` | Set true to get earliest time in
backlog|false||
| `--per-partition` | Get per partition stats|false||
@@ -1188,10 +1188,10 @@ $ pulsar-admin topics set-persistence options
|Flag|Description|Default|
|---|---|---|
-| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|0||
-| `-a, --bookkeeper-ack-quorum` | Number of acks (guaranteed copies) to wait
for each entry|0||
+| `-e, --bookkeeper-ensemble` | Number of bookies to use for a topic|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.0||
-| `-w, --bookkeeper-write-quorum` | How many writes to make of each entry|0||
+| `-w, --bookkeeper-write-quorum` | How many writes to make of each entry|2||
## <em>remove-persistence</em>
diff --git a/static/reference/next/pulsar-perf/pulsar-perf.md
b/static/reference/next/pulsar-perf/pulsar-perf.md
index 3c4881b9685..975c748caf0 100644
--- a/static/reference/next/pulsar-perf/pulsar-perf.md
+++ b/static/reference/next/pulsar-perf/pulsar-perf.md
@@ -44,7 +44,7 @@ $ pulsar-perf produce [options]
| `-b, --batch-time-window` | Batch messages in 'x' ms window (Default:
1ms)|1.0|
| `-am, --access-mode` | Producer access mode|Shared|
| `-time, --test-duration` | Test duration in secs. If <= 0, it will keep
publishing|0|
-| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}.|null|
+| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}".|null|
| `-ioThreads, --num-io-threads` | Set the number of threads to be used for
handling connections to brokers. The default value is 1.|1|
| `-n, --num-producers` | Number of producers (per topic)|1|
| `-m, --num-messages` | Number of messages to publish in total. If <= 0, it
will keep publishing|0|
@@ -90,7 +90,7 @@ $ pulsar-perf consume [options]
| `--tls-enable-hostname-verification` | Enable TLS hostname verification|null|
| `--acks-delay-millis` | Acknowledgements grouping delay in millis|100|
| `--tls-allow-insecure` | Allow insecure TLS connection|null|
-| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}.|null|
+| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}".|null|
| `-bw, --busy-wait` | Enable Busy-Wait on the Pulsar client|false|
| `-i, --stats-interval-seconds` | Statistics Interval Seconds. If 0,
statistics will be disabled|0|
| `-ioThreads, --num-io-threads` | Set the number of threads to be used for
handling connections to brokers. The default value is 1.|1|
@@ -141,7 +141,7 @@ $ pulsar-perf transaction [options]
| `-time, --test-duration` | Test duration (in second). 0 means keeping
publishing|0|
| `--tls-enable-hostname-verification` | Enable TLS hostname verification|null|
| `--tls-allow-insecure` | Allow insecure TLS connection|null|
-| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}.|null|
+| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}".|null|
| `-bw, --busy-wait` | Enable Busy-Wait on the Pulsar client|false|
| `-np, --partitions` | Create partitioned topics with a given number of
partitions, 0 meansnot trying to create a topic|null|
| `-i, --stats-interval-seconds` | Statistics Interval Seconds. If 0,
statistics will be disabled|0|
@@ -193,7 +193,7 @@ $ pulsar-perf read [options]
| `-r, --rate` | Simulate a slow message reader (rate in msg/s)|0.0|
| `--tls-enable-hostname-verification` | Enable TLS hostname verification|null|
| `--tls-allow-insecure` | Allow insecure TLS connection|null|
-| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}.|null|
+| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}".|null|
| `-bw, --busy-wait` | Enable Busy-Wait on the Pulsar client|false|
| `-c, --max-connections` | Max number of TCP connections to a single broker|1|
| `-i, --stats-interval-seconds` | Statistics Interval Seconds. If 0,
statistics will be disabled|0|
@@ -261,7 +261,7 @@ $ pulsar-perf websocket-producer [options]
|Flag|Description|Default|
|---|---|---|
| `-s, --size` | Message size in byte|1024|
-| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}.|null|
+| `--auth-params` | Authentication parameters, whose format is determined by
the implementation of method `configure` in authentication plugin class, for
example "key1:val1,key2:val2" or "{"key1":"val1","key2":"val2"}".|null|
| `-time, --test-duration` | Test duration in secs. If <= 0, it will keep
publishing|0|
| `-e, --payload-delimiter` | The delimiter used to split lines when using
payload from a file|\n|
| `-h, --help` | Help message|false|
diff --git a/static/swagger/master/swagger.json
b/static/swagger/master/swagger.json
index d995c72dcc7..293f8361511 100644
--- a/static/swagger/master/swagger.json
+++ b/static/swagger/master/swagger.json
@@ -19638,7 +19638,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",
@@ -27101,7 +27101,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",
@@ -29471,7 +29471,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",
diff --git a/static/swagger/master/v2/swagger.json
b/static/swagger/master/v2/swagger.json
index d995c72dcc7..293f8361511 100644
--- a/static/swagger/master/v2/swagger.json
+++ b/static/swagger/master/v2/swagger.json
@@ -19638,7 +19638,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",
@@ -27101,7 +27101,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",
@@ -29471,7 +29471,7 @@
"type": "boolean"
},
{
- "default": false,
+ "default": true,
"description": "If return backlog size for each
subscription, require locking on ledger so be careful not to use when there's
heavy traffic.",
"in": "query",
"name": "subscriptionBacklogSize",