You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by li...@apache.org on 2021/02/08 06:28:11 UTC
[pulsar] 01/01: [Doc] Add descriptions for numListenerThreads
This is an automated email from the ASF dual-hosted git repository.
liuyu pushed a commit to branch Anonymitaet-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 57d9e9a6f0ea05c2f96a5866ed6e3bb574f5f4d2
Author: Yu Liu <50...@users.noreply.github.com>
AuthorDate: Mon Feb 8 14:27:43 2021 +0800
[Doc] Add descriptions for numListenerThreads
---
site2/docs/client-libraries-java.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/docs/client-libraries-java.md b/site2/docs/client-libraries-java.md
index 42e9229..b8e8396 100644
--- a/site2/docs/client-libraries-java.md
+++ b/site2/docs/client-libraries-java.md
@@ -107,7 +107,7 @@ String | `authParams` | String represents parameters for the authentication plug
long|`operationTimeoutMs`|Operation timeout |30000
long|`statsIntervalSeconds`|Interval between each stats info<br/><br/>Stats is activated with positive `statsInterval`<br/><br/>Set `statsIntervalSeconds` to 1 second at least |60
int|`numIoThreads`| The number of threads used for handling connections to brokers | 1
-int|`numListenerThreads`|The number of threads used for handling message listeners | 1
+int|`numListenerThreads`|The number of threads used for handling message listeners. The listener thread pool is shared across all the consumers and readers using the "listener" model to get messages. For a given consumer, the listener is always invoked from the same thread to ensure ordering. | 1
boolean|`useTcpNoDelay`|Whether to use TCP no-delay flag on the connection to disable Nagle algorithm |true
boolean |`useTls` |Whether to use TLS encryption on the connection| false
string | `tlsTrustCertsFilePath` |Path to the trusted TLS certificate file|None