This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 385655da547 docs(node-client): document missing Client configs and
defaults (#1127)
385655da547 is described below
commit 385655da547ac16ccfb752d86171f15a5d9d2ebe
Author: Vishal Kumar Singh <[email protected]>
AuthorDate: Fri Apr 24 18:52:32 2026 +0530
docs(node-client): document missing Client configs and defaults (#1127)
---
client-libraries/node-configs.md | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/client-libraries/node-configs.md b/client-libraries/node-configs.md
index 43cbf25753a..a05b9b4db46 100644
--- a/client-libraries/node-configs.md
+++ b/client-libraries/node-configs.md
@@ -18,11 +18,16 @@ The following configurable parameters are available for
Pulsar Node.js clients:
| `ioThreads` | The number of threads to use for handling connections to
Pulsar [brokers](pathname:///docs/reference-terminology#broker). | 1 |
| `messageListenerThreads` | The number of threads used by message listeners
([consumers](#consumers) and [readers](#readers)). | 1 |
| `concurrentLookupRequest` | The number of concurrent lookup requests that
can be sent on each broker connection. Setting a maximum helps to keep from
overloading brokers. You should set values over the default of 50000 only if
the client needs to produce and/or subscribe to thousands of Pulsar topics. |
50000 |
-| `tlsTrustCertsFilePath` | The file path for the trusted TLS certificate. | |
+| `tlsTrustCertsFilePath` | The file path for the trusted TLS certificate. If
unset, the client falls back to a `cert.pem` file bundled with the package that
is seeded from the Node.js runtime's root CAs at install time. | Bundled
`cert.pem` |
+| `tlsCertificateFilePath` | The file path for the client TLS certificate used
for mTLS. | |
+| `tlsPrivateKeyFilePath` | The file path for the client TLS private key used
for mTLS. | |
| `tlsValidateHostname` | The boolean value of setup whether to enable TLS
hostname verification. | `false` |
| `tlsAllowInsecureConnection` | The boolean value of setup whether the Pulsar
client accepts untrusted TLS certificate from broker. | `false` |
| `statsIntervalInSeconds` | Interval between each stat info. Stats is
activated with positive statsInterval. The value should be set to 1 second at
least | 600 |
-| `log` | A function that is used for logging. | `console.log` |
+| `listenerName` | The listener name the client will use when connecting to
the broker. Useful when [advertising multiple
endpoints](pathname:///docs/concepts-multi-tenancy). | |
+| `log` | A function that is used for logging. Receives `(level, file, line,
message)` arguments. | `console.log` |
+| `logLevel` | The log level for client-emitted logs. Accepts `LogLevel.DEBUG`
(0), `LogLevel.INFO` (1), `LogLevel.WARN` (2), or `LogLevel.ERROR` (3). |
`LogLevel.INFO` |
+| `connectionTimeoutMs` | Duration (in milliseconds) to wait for a broker
connection to establish before failing. | |
## Producer configs