Skip to content

Commit e05b116

Browse files
committed
Minor edits
1 parent 01086ac commit e05b116

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/develop/pages/transactions.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Redpanda’s default configuration supports exactly-once processing. To preserve
264264

265265
* `enable_idempotence = true`
266266
* `enable_transactions = true`
267-
* `transaction_coordinator_delete_retention_ms` is not lower than `transactional_id_expiration_ms`
267+
* `transaction_coordinator_delete_retention_ms` is greater than or equal to `transactional_id_expiration_ms`
268268

269269
== Best practices
270270

@@ -274,9 +274,9 @@ To help avoid common pitfalls and optimize performance, consider the following w
274274
ifndef::env-cloud[]
275275
* 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).
276276
+
277-
The total number of transactions in the cluster at any one time is `max_transactions_per_coordinator * transaction_coordinator_partitions` (default is 50). When the threshold is exceeded, Redpanda terminates old sessions. If an idle producer corresponding to the terminated session wakes up and produces, its batches are rejected with the message `invalid producer epoch` or `invalid_producer_id_mapping`, depending on where it is in the transaction execution phase.
277+
The total number of transactions in the cluster at any one time is `max_transactions_per_coordinator * transaction_coordinator_partitions` (`transaction_coordinator_partitions` default is 50). When the threshold is exceeded, Redpanda terminates old sessions. If an idle producer corresponding to the terminated session wakes up and produces, its batches are rejected with the message `invalid producer epoch` or `invalid_producer_id_mapping`, depending on where it is in the transaction execution phase.
278278
+
279-
Be aware that if you keep the default as 50 and your clients create a new ID for every transaction, the total continues to accumulate, which bloats memory.
279+
Be aware that if you keep the `transaction_coordinator_partitions` at the default of 50 and your clients create a new ID for every transaction, the total continues to accumulate, which bloats memory.
280280
* Transactional metadata is stored in the internal topic `kafka_internal/tx`. Over time, this topic can consume disk space. You can manage its disk usage by tuning the `transaction_coordinator_delete_retention_ms` and `transactional_id_expiration_ms` cluster properties.
281281
+
282282
See also: xref:manage:cluster-maintenance/disk-utilization.adoc#manage-transaction-coordinator-disk-usage[Manage Disk Space]

0 commit comments

Comments
 (0)