Skip to content

Commit a52f1b3

Browse files
committed
Incorporate feedback from SME and doc review
1 parent 036ce7c commit a52f1b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/develop/pages/transactions.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ Redpanda’s default configuration supports exactly-once processing. To preserve
270270

271271
To help avoid common pitfalls and optimize performance, consider the following when configuring transactional workloads in Redpanda:
272272

273-
* Ongoing transactions can prevent consumers from advancing. To avoid this, don't set transaction timeout (`transaction.timeout.ms` in Java client) to high values: the longer the timeout, the longer consumers may be blocked. By default, it's about a minute, but it's a client setting that depends on the client.
273+
* If a consumer is configured to process only messages from successfully committed transactions, an ongoing transaction with a large timeout that becomes stuck might block consumers from processing more committed transactions. This prevents consumers from advancing their offsets and potentially causes backlogs.
274+
+
275+
To avoid this, don't set the transaction timeout client setting (`transaction.timeout.ms` in the Kafka Java client implementation) to a value that is too high. The longer the timeout, the longer consumers may be blocked.
274276
ifndef::env-cloud[]
275277
* When running transactional workloads from clients, tune xref:reference:cluster-properties#max_transactions_per_coordinator[`max_transactions_per_coordinator`] to match the number of concurrent transactions your clients run (if your client transaction IDs are not reused).
276278
+

0 commit comments

Comments
 (0)