[Bug] ConfigurationDataUtils does not throw exception on unknown properties anymore #23792
Open
2 of 3 tasks
Labels
type/bug
The PR fixed a bug or issue reported a bug
Search before asking
Read release policy
Version
Affected LTS versions are:
pulsar-client-all:3.0.7
pulsar-client-all:4.0.1
Minimal reproduce step
GitHub repository for reproducing the issue:
https://github.com/alpreu/pulsar-issue-23792 (Using Pulsar 3.0.7, no exception thrown)
https://github.com/alpreu/pulsar-issue-23792/tree/pulsar-3.0.6 (Using Pulsar 3.0.6, exception thrown as expected)
or alternatively,
Create a configuration
HashMap
containing unknown key-value pairs, then try to load it like this:What did you expect to see?
RuntimeException with "Failed to load config into existing configuration data" to be thrown
What did you see instead?
No exception is thrown, the
ClientConfigurationData
object is instantiatedAnything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: