Skip to content

Commit e2246e7

Browse files
kbatuigaspaulohtb6
andauthored
Update modules/develop/pages/transactions.adoc
Co-authored-by: Paulo Borges <paulohtb6@gmail.com>
1 parent e138f45 commit e2246e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/develop/pages/transactions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ To help avoid common pitfalls and optimize performance, consider the following w
272272

273273
* 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.
274274
ifndef::env-cloud[]
275-
* When running transactional workloads from clients, tune xref:reference:cluster-properties#max_transactions_per_coordinator[`max_transactions_per_coordinator`] to the number of active transactions that you expect your clients to run at any given time (if your client transaction IDs are not reused).
275+
* 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).
276276
+
277277
The total number of transactions allowed in the cluster at any time is determined by `max_transactions_per_coordinator * transaction_coordinator_partitions` (default is 50 partitions). When the limit is exceeded, Redpanda terminates old sessions. If an idle producer corresponding to a terminated session becomes active and tries to produces again, Redpanda rejects its batches with an `invalid producer epoch` or `invalid_producer_id_mapping` error, depending on where it is in the transaction execution phase.
278278
+

0 commit comments

Comments
 (0)