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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   master commit id 
[0e149ef](https://github.com/apache/pulsar/commit/0e149ef0484755d42e214f03003237299433c89a)
   
   ### Minimal reproduce step
   
   PulsarAdminBuilder allows configuration of PulsarAdmin either by using the 
setters on the builder, or by using the `loadConf` method that takes in a map 
of configuration properties.
   
   The properties:
   * readTimeout
   * connectionTimeout
   * requestTimeout
   
   can currently only be correctly applied when using the builder setters (e.g. 
`setReadTimeout`) because the `build()` method accesses these as private fields 
in `PulsarAdminBuilderImpl`. If these properties are set through the config 
map, `loadConf` does not update these private fields. This results in the 
config values being ignored and overridden by the default values in 
`PulsarAdminBuilderImpl`
   
   ### What did you expect to see?
   
   Properties should be applied correctly using config map or builder methods,
   
   ### What did you see instead?
   
   Timeout properties get overwritten by the default values.
   
   ### Anything else?
   
   _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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to