You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 passed in via config map get overwritten by the builders default values.
Anything else?
No response
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Version
master commit id 0e149ef
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:
can currently only be correctly applied when using the builder setters (e.g.
setReadTimeout
) because thebuild()
method accesses these as private fields inPulsarAdminBuilderImpl
. 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 inPulsarAdminBuilderImpl
What did you expect to see?
Properties should be applied correctly using config map or builder methods,
What did you see instead?
Timeout properties passed in via config map get overwritten by the builders default values.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: