You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by hj...@apache.org on 2020/11/25 14:29:58 UTC
[pulsar] branch master updated: [docs] Add transactions in the
sidebar (#8692)
This is an automated email from the ASF dual-hosted git repository.
hjf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new bf0db51 [docs] Add transactions in the sidebar (#8692)
bf0db51 is described below
commit bf0db51fdc3b65453e789aaaf05e629f98788ee1
Author: Jennifer Huang <47...@users.noreply.github.com>
AuthorDate: Wed Nov 25 22:29:31 2020 +0800
[docs] Add transactions in the sidebar (#8692)
* add transaction in the sidebar
* keep transactions consitent in the docs
* update
* update
---
site2/docs/concepts-transactions.md | 4 ++--
site2/docs/transaction-api.md | 6 +++---
site2/docs/transaction-guarantee.md | 6 +++---
site2/website/sidebars.json | 9 ++++++---
4 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/site2/docs/concepts-transactions.md b/site2/docs/concepts-transactions.md
index c525ddc..592122a 100644
--- a/site2/docs/concepts-transactions.md
+++ b/site2/docs/concepts-transactions.md
@@ -1,7 +1,7 @@
---
-id: transaction
+id: transactions
title: Transactions
-sidebar_label: Transaction Concepts
+sidebar_label: Overview
---
Transactional semantics enable event streaming applications to consume, process, and produce messages in one atomic operation. In Pulsar, a producer or consumer can work with messages across multiple topics and partitions and ensure those messages are processed as a single unit.
diff --git a/site2/docs/transaction-api.md b/site2/docs/transaction-api.md
index 9d20191..70ade5e 100644
--- a/site2/docs/transaction-api.md
+++ b/site2/docs/transaction-api.md
@@ -1,7 +1,7 @@
---
-id: transaction-api
-title: Transaction API(Developer Preview)
-sidebar_label: Transaction API
+id: transactions-api
+title: Transactions API (Developer Preview)
+sidebar_label: Transactions API
---
All messages in a transaction is available only to consumers after the transaction is committed. If a transaction is aborted, all the writes and acknowledgments in this transaction rollback.
diff --git a/site2/docs/transaction-guarantee.md b/site2/docs/transaction-guarantee.md
index 1c28b4f..73c7c68 100644
--- a/site2/docs/transaction-guarantee.md
+++ b/site2/docs/transaction-guarantee.md
@@ -1,7 +1,7 @@
---
-id: transaction-guarantee
-title: Transaction Guarantee
-sidebar_label: Transaction Guarantee
+id: transactions-guarantee
+title: Transactions Guarantee
+sidebar_label: Transactions Guarantee
---
Pulsar transactions support the following guarantee.
diff --git a/site2/website/sidebars.json b/site2/website/sidebars.json
index e273d7c..d096801 100644
--- a/site2/website/sidebars.json
+++ b/site2/website/sidebars.json
@@ -1,11 +1,9 @@
{
"docs": {
"Get started": [
- "pulsar-2.0",
"standalone",
"standalone-docker",
- "kubernetes-helm",
- "client-libraries"
+ "kubernetes-helm"
],
"Concepts and Architecture": [
"concepts-overview",
@@ -57,6 +55,11 @@
"tiered-storage-gcs",
"tiered-storage-filesystem"
],
+ "Transactions": [
+ "transactions",
+ "transactions-guarantee",
+ "transactions-api"
+ ],
"Kubernetes (Helm)": [
"helm-overview",
"helm-prepare",