You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "peisenmann (via GitHub)" <gi...@apache.org> on 2025/05/29 16:01:25 UTC

[I] [Doc] Client configuration docs changes [pulsar]

peisenmann opened a new issue, #24362:
URL: https://github.com/apache/pulsar/issues/24362

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### What issue do you find in Pulsar docs?
   
   The docs page for the [Node client](https://pulsar.apache.org/docs/4.0.x/client-libraries-node-configs/#client-configuration) does not seem to document:
    - `useTLS`: boolean
    - `logLevel`: 0, 1, 2, 3 (0 correlates to debug, 1=info, 2=warn, 3=error)
   
   These are, however, captured in the TS types: https://github.com/apache/pulsar-client-node/blob/master/index.d.ts#L21
   
   Further, these defaults are not captured anywhere as far as I can tell:
   - Default `tlsTrustCertsFilePath` is `${__dirname}/cert.pem` per the default applied in the JS Client constructor: https://github.com/apache/pulsar-client-node/blob/master/src/Client.js#L24
   - Default log level is `info` per the C header file: https://github.com/apache/pulsar-client-node/blob/master/src/Client.h#L56
   
   ### What is your suggestion?
   
   I think documenting these things is enough. If there are other places where configurations are inferred or defaulted but not documented, it would be nice to find those and include them, too, but these are the ones I've come across so far.
   
   ### Any reference?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] Client configuration docs changes [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #24362: [Doc] Client configuration docs changes
URL: https://github.com/apache/pulsar/issues/24362


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org