You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/05/06 14:00:38 UTC

[pulsar] branch master updated: [improve][doc] Support configurable transactionBufferClientOperationTimeoutInMills (#15438)

This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c2700babdd [improve][doc] Support configurable transactionBufferClientOperationTimeoutInMills (#15438)
5c2700babdd is described below

commit 5c2700babdda6be62deaff9e4e8af6ff10d79e39
Author: Qiang Zhao <ma...@gmail.com>
AuthorDate: Fri May 6 22:00:32 2022 +0800

    [improve][doc] Support configurable transactionBufferClientOperationTimeoutInMills (#15438)
---
 conf/broker.conf                      | 3 +++
 conf/standalone.conf                  | 3 +++
 site2/docs/reference-configuration.md | 2 ++
 3 files changed, 8 insertions(+)

diff --git a/conf/broker.conf b/conf/broker.conf
index a2ca9309e7b..b70da06b55f 100644
--- a/conf/broker.conf
+++ b/conf/broker.conf
@@ -1394,6 +1394,9 @@ transactionBufferSnapshotMinTimeInMillis=5000
 # The max concurrent requests for transaction buffer client, default is 1000
 transactionBufferClientMaxConcurrentRequests=1000
 
+# The transaction buffer client's operation timeout in milliseconds.
+transactionBufferClientOperationTimeoutInMills=3000
+
 ### --- Packages management service configuration variables (begin) --- ###
 
 # Enable the packages management service or not
diff --git a/conf/standalone.conf b/conf/standalone.conf
index 625a2524ea0..9c916b18cd7 100644
--- a/conf/standalone.conf
+++ b/conf/standalone.conf
@@ -1050,6 +1050,9 @@ transactionBufferSnapshotMaxTransactionCount=1000
 # Unit : millisecond
 transactionBufferSnapshotMinTimeInMillis=5000
 
+# The transaction buffer client's operation timeout in milliseconds.
+transactionBufferClientOperationTimeoutInMills=3000
+
 ### --- Packages management service configuration variables (begin) --- ###
 
 # Enable the packages management service or not
diff --git a/site2/docs/reference-configuration.md b/site2/docs/reference-configuration.md
index 0c465d8244c..23e23f53a6f 100644
--- a/site2/docs/reference-configuration.md
+++ b/site2/docs/reference-configuration.md
@@ -334,6 +334,7 @@ brokerServiceCompactionThresholdInBytes|If the estimated backlog size is greater
 |replicationConnectionsPerBroker| Max number of connections to open for each broker in a remote cluster More connections host-to-host lead to better throughput over high-latency links.  |16|
 |replicationProducerQueueSize|  Replicator producer queue size  |1000|
 |replicatorPrefix|  Replicator prefix used for replicator producer name and cursor name pulsar.repl||
+|transactionBufferClientOperationTimeoutInMills|The transaction buffer client's operation timeout in milliseconds.|3000|
 |transactionCoordinatorEnabled|Whether to enable transaction coordinator in broker.|true|
 |transactionMetadataStoreProviderClassName| |org.apache.pulsar.transaction.coordinator.impl.InMemTransactionMetadataStoreProvider|
 |defaultRetentionTimeInMinutes| Default message retention time  |0|
@@ -702,6 +703,7 @@ You can set the log level and configuration in the  [log4j2.yaml](https://github
 |replicationConnectionsPerBroker|   |16|
 |replicationProducerQueueSize|    |1000|
 | replicationPolicyCheckDurationSeconds | Duration to check replication policy to avoid replicator inconsistency due to missing ZooKeeper watch. When the value is set to 0, disable checking replication policy. | 600 |
+|transactionBufferClientOperationTimeoutInMills|The transaction buffer client's operation timeout in milliseconds.|3000|
 |defaultRetentionTimeInMinutes|   |0|
 |defaultRetentionSizeInMB|    |0|
 |keepAliveIntervalSeconds|    |30|