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 2024/01/19 01:32:57 UTC
(pulsar-site) branch main updated: Docs sync done from apache/pulsar (#22838ea)
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 2aa848c9a479 Docs sync done from apache/pulsar (#22838ea)
2aa848c9a479 is described below
commit 2aa848c9a479c9a995649985de5a6e6ae676740c
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri Jan 19 01:32:52 2024 +0000
Docs sync done from apache/pulsar (#22838ea)
---
static/reference/next/pulsar-admin/transactions.md | 18 +++++++
static/swagger/master/swaggertransactions.json | 57 ++++++++++++++++++++++
static/swagger/master/v3/swaggertransactions.json | 57 ++++++++++++++++++++++
3 files changed, 132 insertions(+)
diff --git a/static/reference/next/pulsar-admin/transactions.md b/static/reference/next/pulsar-admin/transactions.md
index e51f63e18ca3..1ff8e84996cb 100644
--- a/static/reference/next/pulsar-admin/transactions.md
+++ b/static/reference/next/pulsar-admin/transactions.md
@@ -247,3 +247,21 @@ $ pulsar-admin transactions coordinators-list options
|Flag|Description|Default|
|---|---|---|
+
+## abort-transaction
+
+Abort transaction
+
+**Command:**
+
+```shell
+$ pulsar-admin transactions abort-transaction options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `-l, --least-sig-bits` | The least sig bits|0||
+| `-m, --most-sig-bits` | The most sig bits|0||
+
diff --git a/static/swagger/master/swaggertransactions.json b/static/swagger/master/swaggertransactions.json
index c6d52b5c3487..07f194b25ffb 100644
--- a/static/swagger/master/swaggertransactions.json
+++ b/static/swagger/master/swaggertransactions.json
@@ -142,6 +142,63 @@
"version": "v3"
},
"paths": {
+ "/transactions/abortTransaction/{mostSigBits}/{leastSigBits}": {
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "",
+ "operationId": "Transactions_abortTransaction",
+ "parameters": [
+ {
+ "default": false,
+ "in": "query",
+ "name": "authoritative",
+ "required": false,
+ "type": "boolean"
+ },
+ {
+ "in": "path",
+ "name": "mostSigBits",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "leastSigBits",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "307": {
+ "description": "Topic is not owned by this broker!"
+ },
+ "400": {
+ "description": "Topic is not a persistent topic!"
+ },
+ "401": {
+ "description": "This operation requires super-user access"
+ },
+ "404": {
+ "description": "Tenant or cluster or namespace or topic or coordinator or transaction doesn't exist"
+ },
+ "409": {
+ "description": "Concurrent modification"
+ },
+ "503": {
+ "description": "This Broker is not configured with transactionCoordinatorEnabled=true."
+ }
+ },
+ "summary": "Abort transaction",
+ "tags": [
+ "transactions"
+ ]
+ }
+ },
"/transactions/coordinatorInternalStats/{coordinatorId}": {
"get": {
"consumes": [
diff --git a/static/swagger/master/v3/swaggertransactions.json b/static/swagger/master/v3/swaggertransactions.json
index c6d52b5c3487..07f194b25ffb 100644
--- a/static/swagger/master/v3/swaggertransactions.json
+++ b/static/swagger/master/v3/swaggertransactions.json
@@ -142,6 +142,63 @@
"version": "v3"
},
"paths": {
+ "/transactions/abortTransaction/{mostSigBits}/{leastSigBits}": {
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "",
+ "operationId": "Transactions_abortTransaction",
+ "parameters": [
+ {
+ "default": false,
+ "in": "query",
+ "name": "authoritative",
+ "required": false,
+ "type": "boolean"
+ },
+ {
+ "in": "path",
+ "name": "mostSigBits",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "path",
+ "name": "leastSigBits",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "307": {
+ "description": "Topic is not owned by this broker!"
+ },
+ "400": {
+ "description": "Topic is not a persistent topic!"
+ },
+ "401": {
+ "description": "This operation requires super-user access"
+ },
+ "404": {
+ "description": "Tenant or cluster or namespace or topic or coordinator or transaction doesn't exist"
+ },
+ "409": {
+ "description": "Concurrent modification"
+ },
+ "503": {
+ "description": "This Broker is not configured with transactionCoordinatorEnabled=true."
+ }
+ },
+ "summary": "Abort transaction",
+ "tags": [
+ "transactions"
+ ]
+ }
+ },
"/transactions/coordinatorInternalStats/{coordinatorId}": {
"get": {
"consumes": [