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 ba5f29d9a67 Docs sync done from apache/pulsar (#8cff123)
ba5f29d9a67 is described below
commit ba5f29d9a67fb35077b49c437310bfb2f8b6f2e6
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Mar 16 01:35:36 2023 +0000
Docs sync done from apache/pulsar (#8cff123)
---
.../next/config/reference-configuration-broker.md | 59 +++++++++++++++++-----
.../config/reference-configuration-standalone.md | 59 +++++++++++++++++-----
static/swagger/master/swagger.json | 13 +++--
static/swagger/master/v2/swagger.json | 13 +++--
4 files changed, 104 insertions(+), 40 deletions(-)
diff --git a/static/reference/next/config/reference-configuration-broker.md
b/static/reference/next/config/reference-configuration-broker.md
index 7a12d326bab..d152ab039ee 100644
--- a/static/reference/next/config/reference-configuration-broker.md
+++ b/static/reference/next/config/reference-configuration-broker.md
@@ -803,6 +803,17 @@ Maximum number of brokers to transfer bundle load for each
unloading cycle. The
**Category**: Load Balancer
+### loadBalancerMaxNumberOfBundlesToSplitPerCycle
+Max number of bundles to split to per cycle. (only used in load balancer
extension logics)
+
+**Type**: `int`
+
+**Default**: `10`
+
+**Dynamic**: `true`
+
+**Category**: Load Balancer
+
### loadBalancerMsgRateDifferenceShedderThreshold
Message-rate percentage threshold between highest and least loaded brokers for
uniform load shedding. (eg: broker1 with 50K msgRate and broker2 with 30K
msgRate will have 66% msgRate difference and load balancer can unload bundles
from broker-1 to broker-2)
@@ -869,6 +880,17 @@ maximum topics in a bundle, otherwise bundle split will be
triggered
**Category**: Load Balancer
+### loadBalancerNamespaceBundleSplitConditionThreshold
+Threshold to the consecutive count of fulfilled split conditions. If the split
scheduler consecutively finds bundles that meet split conditions many times
bigger than this threshold, the scheduler will trigger splits on the bundles
(if the number of bundles is less than loadBalancerNamespaceMaximumBundles).
(only used in load balancer extension logics)
+
+**Type**: `int`
+
+**Default**: `5`
+
+**Dynamic**: `true`
+
+**Category**: Load Balancer
+
### loadBalancerNamespaceMaximumBundles
maximum number of bundles in a namespace
@@ -981,6 +1003,17 @@ Broker periodically checks whether some traffic should be
offload from some over
**Category**: Load Balancer
+### loadBalancerSplitIntervalMinutes
+Service units'(bundles) split interval. Broker periodically checks whether
some service units(e.g. bundles) should split if they become hot-spots. (only
used in load balancer extension logics)
+
+**Type**: `int`
+
+**Default**: `1`
+
+**Dynamic**: `false`
+
+**Category**: Load Balancer
+
### loadBalancerTransferEnabled
Option to enable the bundle transfer mode when distributing bundle loads. On:
transfer bundles from overloaded brokers to underloaded -- pre-assigns the
destination broker upon unloading). Off: unload bundles from overloaded brokers
-- post-assigns the destination broker upon lookups). (only used in load
balancer extension TransferSheddeer)
@@ -2554,6 +2587,17 @@ Size of the lookahead window to use when detecting if
all the messages in the to
**Category**: Server
+### delayedDeliveryMaxIndexesPerBucketSnapshotSegment
+The max number of delayed message index in per bucket snapshot segment, -1
means no limitationafter reaching the max number limitation, the snapshot
segment will be cut off.
+
+**Type**: `int`
+
+**Default**: `5000`
+
+**Dynamic**: `false`
+
+**Category**: Server
+
### delayedDeliveryMaxNumBuckets
The max number of delayed message index bucket, after reaching the max buckets
limitation, the adjacent buckets will be merged.
@@ -2566,9 +2610,9 @@ The max number of delayed message index bucket, after
reaching the max buckets l
**Category**: Server
### delayedDeliveryMaxTimeStepPerBucketSnapshotSegmentSeconds
-The delayed message index bucket time step(in seconds) in per bucket snapshot
segment, after reaching the max time step limitation, the snapshot segment will
be cut off.
+The delayed message index time step(in seconds) in per bucket snapshot
segment, after reaching the max time step limitation, the snapshot segment will
be cut off.
-**Type**: `long`
+**Type**: `int`
**Default**: `300`
@@ -2587,17 +2631,6 @@ The delayed message index bucket min index count. When
the index count of the cu
**Category**: Server
-### delayedDeliverySharedIndexEnabled
-Enable share the delayed message index across subscriptions
-
-**Type**: `boolean`
-
-**Default**: `false`
-
-**Dynamic**: `false`
-
-**Category**: Server
-
### delayedDeliveryTickTimeMillis
Control the tick time for when retrying on delayed delivery, affecting the
accuracy of the delivery time compared to the scheduled time. Default is 1
second. Note that this time is used to configure the HashedWheelTimer's tick
time for the InMemoryDelayedDeliveryTrackerFactory.
diff --git a/static/reference/next/config/reference-configuration-standalone.md
b/static/reference/next/config/reference-configuration-standalone.md
index 7a12d326bab..d152ab039ee 100644
--- a/static/reference/next/config/reference-configuration-standalone.md
+++ b/static/reference/next/config/reference-configuration-standalone.md
@@ -803,6 +803,17 @@ Maximum number of brokers to transfer bundle load for each
unloading cycle. The
**Category**: Load Balancer
+### loadBalancerMaxNumberOfBundlesToSplitPerCycle
+Max number of bundles to split to per cycle. (only used in load balancer
extension logics)
+
+**Type**: `int`
+
+**Default**: `10`
+
+**Dynamic**: `true`
+
+**Category**: Load Balancer
+
### loadBalancerMsgRateDifferenceShedderThreshold
Message-rate percentage threshold between highest and least loaded brokers for
uniform load shedding. (eg: broker1 with 50K msgRate and broker2 with 30K
msgRate will have 66% msgRate difference and load balancer can unload bundles
from broker-1 to broker-2)
@@ -869,6 +880,17 @@ maximum topics in a bundle, otherwise bundle split will be
triggered
**Category**: Load Balancer
+### loadBalancerNamespaceBundleSplitConditionThreshold
+Threshold to the consecutive count of fulfilled split conditions. If the split
scheduler consecutively finds bundles that meet split conditions many times
bigger than this threshold, the scheduler will trigger splits on the bundles
(if the number of bundles is less than loadBalancerNamespaceMaximumBundles).
(only used in load balancer extension logics)
+
+**Type**: `int`
+
+**Default**: `5`
+
+**Dynamic**: `true`
+
+**Category**: Load Balancer
+
### loadBalancerNamespaceMaximumBundles
maximum number of bundles in a namespace
@@ -981,6 +1003,17 @@ Broker periodically checks whether some traffic should be
offload from some over
**Category**: Load Balancer
+### loadBalancerSplitIntervalMinutes
+Service units'(bundles) split interval. Broker periodically checks whether
some service units(e.g. bundles) should split if they become hot-spots. (only
used in load balancer extension logics)
+
+**Type**: `int`
+
+**Default**: `1`
+
+**Dynamic**: `false`
+
+**Category**: Load Balancer
+
### loadBalancerTransferEnabled
Option to enable the bundle transfer mode when distributing bundle loads. On:
transfer bundles from overloaded brokers to underloaded -- pre-assigns the
destination broker upon unloading). Off: unload bundles from overloaded brokers
-- post-assigns the destination broker upon lookups). (only used in load
balancer extension TransferSheddeer)
@@ -2554,6 +2587,17 @@ Size of the lookahead window to use when detecting if
all the messages in the to
**Category**: Server
+### delayedDeliveryMaxIndexesPerBucketSnapshotSegment
+The max number of delayed message index in per bucket snapshot segment, -1
means no limitationafter reaching the max number limitation, the snapshot
segment will be cut off.
+
+**Type**: `int`
+
+**Default**: `5000`
+
+**Dynamic**: `false`
+
+**Category**: Server
+
### delayedDeliveryMaxNumBuckets
The max number of delayed message index bucket, after reaching the max buckets
limitation, the adjacent buckets will be merged.
@@ -2566,9 +2610,9 @@ The max number of delayed message index bucket, after
reaching the max buckets l
**Category**: Server
### delayedDeliveryMaxTimeStepPerBucketSnapshotSegmentSeconds
-The delayed message index bucket time step(in seconds) in per bucket snapshot
segment, after reaching the max time step limitation, the snapshot segment will
be cut off.
+The delayed message index time step(in seconds) in per bucket snapshot
segment, after reaching the max time step limitation, the snapshot segment will
be cut off.
-**Type**: `long`
+**Type**: `int`
**Default**: `300`
@@ -2587,17 +2631,6 @@ The delayed message index bucket min index count. When
the index count of the cu
**Category**: Server
-### delayedDeliverySharedIndexEnabled
-Enable share the delayed message index across subscriptions
-
-**Type**: `boolean`
-
-**Default**: `false`
-
-**Dynamic**: `false`
-
-**Category**: Server
-
### delayedDeliveryTickTimeMillis
Control the tick time for when retrying on delayed delivery, affecting the
accuracy of the delivery time compared to the scheduled time. Default is 1
second. Note that this time is used to configure the HashedWheelTimer's tick
time for the InMemoryDelayedDeliveryTrackerFactory.
diff --git a/static/swagger/master/swagger.json
b/static/swagger/master/swagger.json
index fa416331bbb..ab243fbbb43 100644
--- a/static/swagger/master/swagger.json
+++ b/static/swagger/master/swagger.json
@@ -1325,23 +1325,22 @@
"format": "int64",
"type": "integer"
},
- "isOffloaded": {
- "type": "boolean"
- },
"ledgerId": {
"format": "int64",
"type": "integer"
},
- "offloadedContextUuid": {
+ "metadata": {
"type": "string"
},
+ "offloaded": {
+ "type": "boolean"
+ },
"size": {
"format": "int64",
"type": "integer"
},
- "timestamp": {
- "format": "int64",
- "type": "integer"
+ "underReplicated": {
+ "type": "boolean"
}
},
"type": "object"
diff --git a/static/swagger/master/v2/swagger.json
b/static/swagger/master/v2/swagger.json
index fa416331bbb..ab243fbbb43 100644
--- a/static/swagger/master/v2/swagger.json
+++ b/static/swagger/master/v2/swagger.json
@@ -1325,23 +1325,22 @@
"format": "int64",
"type": "integer"
},
- "isOffloaded": {
- "type": "boolean"
- },
"ledgerId": {
"format": "int64",
"type": "integer"
},
- "offloadedContextUuid": {
+ "metadata": {
"type": "string"
},
+ "offloaded": {
+ "type": "boolean"
+ },
"size": {
"format": "int64",
"type": "integer"
},
- "timestamp": {
- "format": "int64",
- "type": "integer"
+ "underReplicated": {
+ "type": "boolean"
}
},
"type": "object"