momo-jun commented on code in PR #15200:
URL: https://github.com/apache/pulsar/pull/15200#discussion_r852952661


##########
site2/docs/txn-use.md:
##########
@@ -20,21 +20,29 @@ This section provides an example of how to use the 
transaction API to send and r
 
 2. Enable transaction. 
 
-    Change the configuration in the `broker.conf` file.
+    Change the configuration in the `broker.conf` or `standalone.conf` file.
 
     ```
+    //mandatory configuration, used to enable transaction coordinator
     transactionCoordinatorEnabled=true
+   
+    //mandtory configuration, used to create systemTopic used for transaction 
buffer snapshot
     systemTopicEnabled=true
+   
     ```
 
-    If you want to enable batch messages in transactions, follow the steps 
below.
+    * If you want to enable batch messages in transactions, follow the steps 
below.
 
     Set `acknowledgmentAtBatchIndexLevelEnabled` to `true` in the 
`broker.conf` or `standalone.conf` file.
 
       ```
       acknowledgmentAtBatchIndexLevelEnabled=true
       ```
 
+    * [message deduplication](cookbooks-deduplication.md) is a mandatory 
configuration, if need to guarantee exactly-once semantics.

Review Comment:
   ```suggestion
       *  If you want to guarantee exactly-once semantics, you need to enable 
[message deduplication](cookbooks-deduplication.md).
   ```



-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to