You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2023/07/23 01:38:25 UTC
[pulsar-site] branch main updated: Docs sync done from apache/pulsar (#e7ae9e2)
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 0d963b42136 Docs sync done from apache/pulsar (#e7ae9e2)
0d963b42136 is described below
commit 0d963b42136e45a7bb6d6afc44526f7dcceb63dc
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sun Jul 23 01:38:19 2023 +0000
Docs sync done from apache/pulsar (#e7ae9e2)
---
.../next/config/reference-configuration-broker.md | 22 ++++++
.../config/reference-configuration-standalone.md | 22 ++++++
static/reference/next/pulsar-admin/transactions.md | 19 +++++
static/swagger/master/swaggertransactions.json | 80 ++++++++++++++++++++++
static/swagger/master/v3/swaggertransactions.json | 80 ++++++++++++++++++++++
5 files changed, 223 insertions(+)
diff --git a/static/reference/next/config/reference-configuration-broker.md b/static/reference/next/config/reference-configuration-broker.md
index e33101c8b4e..7e555e73f30 100644
--- a/static/reference/next/config/reference-configuration-broker.md
+++ b/static/reference/next/config/reference-configuration-broker.md
@@ -2231,6 +2231,17 @@ replicator prefix used for replicator producer name and cursor name
**Category**: Replication
+### inflightSaslContextExpiryMs
+how often the broker expires the inflight SASL context.
+
+**Type**: `long`
+
+**Default**: `30000`
+
+**Dynamic**: `false`
+
+**Category**: SASL Authentication Provider
+
### kinitCommand
kerberos kinit command.
@@ -2242,6 +2253,17 @@ kerberos kinit command.
**Category**: SASL Authentication Provider
+### maxInflightSaslContext
+Maximum number of inflight sasl context.
+
+**Type**: `long`
+
+**Default**: `50000`
+
+**Dynamic**: `false`
+
+**Category**: SASL Authentication Provider
+
### saslJaasClientAllowedIds
This is a regexp, which limits the range of possible ids which can connect to the Broker using SASL.
Default value is: ".*pulsar.*", so only clients whose id contains 'pulsar' are allowed to connect.
diff --git a/static/reference/next/config/reference-configuration-standalone.md b/static/reference/next/config/reference-configuration-standalone.md
index e33101c8b4e..7e555e73f30 100644
--- a/static/reference/next/config/reference-configuration-standalone.md
+++ b/static/reference/next/config/reference-configuration-standalone.md
@@ -2231,6 +2231,17 @@ replicator prefix used for replicator producer name and cursor name
**Category**: Replication
+### inflightSaslContextExpiryMs
+how often the broker expires the inflight SASL context.
+
+**Type**: `long`
+
+**Default**: `30000`
+
+**Dynamic**: `false`
+
+**Category**: SASL Authentication Provider
+
### kinitCommand
kerberos kinit command.
@@ -2242,6 +2253,17 @@ kerberos kinit command.
**Category**: SASL Authentication Provider
+### maxInflightSaslContext
+Maximum number of inflight sasl context.
+
+**Type**: `long`
+
+**Default**: `50000`
+
+**Dynamic**: `false`
+
+**Category**: SASL Authentication Provider
+
### saslJaasClientAllowedIds
This is a regexp, which limits the range of possible ids which can connect to the Broker using SASL.
Default value is: ".*pulsar.*", so only clients whose id contains 'pulsar' are allowed to connect.
diff --git a/static/reference/next/pulsar-admin/transactions.md b/static/reference/next/pulsar-admin/transactions.md
index c5457789081..39e37e0c904 100644
--- a/static/reference/next/pulsar-admin/transactions.md
+++ b/static/reference/next/pulsar-admin/transactions.md
@@ -46,6 +46,24 @@ $ pulsar-admin transactions pending-ack-internal-stats options
| `-t, --topic` | Topic name|null||
+## buffer-snapshot-internal-stats
+
+Get transaction buffer internal stats
+
+**Command:**
+
+```shell
+$ pulsar-admin transactions buffer-snapshot-internal-stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `-m, --metadata` | Flag to include ledger metadata|false||
+| `-t, --topic` | Topic name|null||
+
+
## coordinator-stats
Get transaction coordinator stats
@@ -79,6 +97,7 @@ $ pulsar-admin transactions transaction-buffer-stats options
|---|---|---|
| `-l, --low-water-mark` | Whether to get information about lowWaterMarks stored in transaction buffer.|false||
| `-t, --topic` | The topic|null||
+| `-s, --segment-stats` | Whether to get segment statistics.|false||
## pending-ack-stats
diff --git a/static/swagger/master/swaggertransactions.json b/static/swagger/master/swaggertransactions.json
index 9236e447895..c6d52b5c348 100644
--- a/static/swagger/master/swaggertransactions.json
+++ b/static/swagger/master/swaggertransactions.json
@@ -573,6 +573,79 @@
]
}
},
+ "/transactions/transactionBufferInternalStats/{tenant}/{namespace}/{topic}": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "",
+ "operationId": "Transactions_getTransactionBufferInternalStats",
+ "parameters": [
+ {
+ "default": false,
+ "in": "query",
+ "name": "authoritative",
+ "required": false,
+ "type": "boolean"
+ },
+ {
+ "in": "path",
+ "name": "tenant",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "default": false,
+ "in": "query",
+ "name": "metadata",
+ "required": false,
+ "type": "boolean"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "307": {
+ "description": "Topic is not owned by this broker!"
+ },
+ "400": {
+ "description": "Topic is not a persistent topic!"
+ },
+ "403": {
+ "description": "Don't have admin permission"
+ },
+ "404": {
+ "description": "Tenant or cluster or namespace or topic doesn't exist"
+ },
+ "405": {
+ "description": "Transaction buffer don't use managedLedger!"
+ },
+ "409": {
+ "description": "Concurrent modification"
+ },
+ "503": {
+ "description": "This Broker is not enable transaction"
+ }
+ },
+ "summary": "Get transaction buffer internal stats.",
+ "tags": [
+ "transactions"
+ ]
+ }
+ },
"/transactions/transactionBufferStats/{tenant}/{namespace}/{topic}": {
"get": {
"consumes": [
@@ -612,6 +685,13 @@
"name": "lowWaterMarks",
"required": false,
"type": "boolean"
+ },
+ {
+ "default": false,
+ "in": "query",
+ "name": "segmentStats",
+ "required": false,
+ "type": "boolean"
}
],
"produces": [
diff --git a/static/swagger/master/v3/swaggertransactions.json b/static/swagger/master/v3/swaggertransactions.json
index 9236e447895..c6d52b5c348 100644
--- a/static/swagger/master/v3/swaggertransactions.json
+++ b/static/swagger/master/v3/swaggertransactions.json
@@ -573,6 +573,79 @@
]
}
},
+ "/transactions/transactionBufferInternalStats/{tenant}/{namespace}/{topic}": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "",
+ "operationId": "Transactions_getTransactionBufferInternalStats",
+ "parameters": [
+ {
+ "default": false,
+ "in": "query",
+ "name": "authoritative",
+ "required": false,
+ "type": "boolean"
+ },
+ {
+ "in": "path",
+ "name": "tenant",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "default": false,
+ "in": "query",
+ "name": "metadata",
+ "required": false,
+ "type": "boolean"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "307": {
+ "description": "Topic is not owned by this broker!"
+ },
+ "400": {
+ "description": "Topic is not a persistent topic!"
+ },
+ "403": {
+ "description": "Don't have admin permission"
+ },
+ "404": {
+ "description": "Tenant or cluster or namespace or topic doesn't exist"
+ },
+ "405": {
+ "description": "Transaction buffer don't use managedLedger!"
+ },
+ "409": {
+ "description": "Concurrent modification"
+ },
+ "503": {
+ "description": "This Broker is not enable transaction"
+ }
+ },
+ "summary": "Get transaction buffer internal stats.",
+ "tags": [
+ "transactions"
+ ]
+ }
+ },
"/transactions/transactionBufferStats/{tenant}/{namespace}/{topic}": {
"get": {
"consumes": [
@@ -612,6 +685,13 @@
"name": "lowWaterMarks",
"required": false,
"type": "boolean"
+ },
+ {
+ "default": false,
+ "in": "query",
+ "name": "segmentStats",
+ "required": false,
+ "type": "boolean"
}
],
"produces": [