momo-jun commented on code in PR #501:
URL: https://github.com/apache/pulsar-site/pull/501#discussion_r1156638847


##########
docs/txn-use.md:
##########
@@ -1,148 +1,170 @@
 ---
 id: txn-use
-title: How to use transactions?
-sidebar_label: "How to use transactions?"
+title: Get started
+sidebar_label: "Get started"
 ---
 
-## Transaction API
+Pulsar transaction is primarily a server-side and protocol-level feature. This 
tutorial guides you through every step of how to use the [Pulsar transaction 
API](/api/admin/) to send and receive messages in a Java client. 
 
-The transaction feature is primarily a server-side and protocol-level feature. 
You can use the transaction feature via the [transaction API](/api/admin/), 
which is available in **Pulsar 2.8.0 or later**.
+:::note
 
-To use the transaction API, you do not need any additional settings in the 
Pulsar client. **By default**, transactions are **disabled**.
+Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 
2.8.0 or later** versions. It is only available for **Java** clients. 
 
-Currently, transaction API is only available for **Java** clients. Support for 
other language clients will be added in future releases.
+:::
+## Prerequisites
 
-## Quick start
+- [Start Pulsar 2.8.0 or later versions](#getting-started-standalone.md)
 
-This section provides an example of how to use the transaction API to send and 
receive messages in a Java client.
+## Steps
 
-1. Start Pulsar 2.8.0 or later.
+1. Enable transactions. You can set the following configurations in the 
[`broker.conf`](https://github.com/apache/pulsar/blob/master/conf/broker.conf) 
or 
[`standalone.conf`](https://github.com/apache/pulsar/blob/master/conf/standalone.conf)
 file.
 
-2. Enable transaction.
+    ```conf
+    //mandatory configuration, used to enable transaction coordinator
+    transactionCoordinatorEnabled=true
 
-   Change the configuration in the `broker.conf` or `standalone.conf` file.
+    //mandtory configuration, used to create systemTopic used for transaction 
buffer snapshot

Review Comment:
   ```suggestion
       //mandatory configuration, used to create systemTopic used for 
transaction buffer snapshot
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to