hachikuji commented on code in PR #13129:
URL: https://github.com/apache/kafka/pull/13129#discussion_r1081878202


##########
clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java:
##########
@@ -318,7 +318,8 @@ public class ProducerConfig extends AbstractConfig {
 
     /** <code> transaction.timeout.ms </code> */
     public static final String TRANSACTION_TIMEOUT_CONFIG = 
"transaction.timeout.ms";
-    public static final String TRANSACTION_TIMEOUT_DOC = "The maximum amount 
of time in ms that the transaction coordinator will wait for a transaction 
status update from the producer before proactively aborting the ongoing 
transaction." +
+    public static final String TRANSACTION_TIMEOUT_DOC = "The maximum amount 
of time in milliseconds that a transaction will remain open before the 
coordinator proactively aborts it. " +
+            "The start of the transaction is set at the time that the first 
partition is added to it. " +
             "If this value is larger than the transaction.max.timeout.ms 
setting in the broker, the request will fail with a 
<code>InvalidTxnTimeoutException</code> error.";

Review Comment:
   nit: could we put `<code>` blocks around `transaction.max.timeout.ms` while 
we're in here?



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to