diegosalvi opened a new pull request #6382: Add configurable DNS client for ConnectionPool URL: https://github.com/apache/pulsar/pull/6382 Fixes #6346 ### Motivation Currently DNS client for PulsarClient cannot be configured and we are struck with default one. Specifically I needed to be able to configure the dns server list ### Modifications - Added a new method: `ClientBuilder.dns` - Used configured dns builder instead of creating a new default one if provided in `ConnectionPool` ### Verifying this change - [ ] Make sure that the change passes the CI checks. This change is essentially a trivial rework, it just expose the ability to provider a custom DnsNameResolverBuilder and use it if provided. ### Does this pull request potentially affect one of the following parts: *If `yes` was chosen, please highlight the changes* - **Dependencies (does it add or upgrade a dependency): (yes / no) yes (added dependency on netty-dns-resolver to client api)** - The public API: (yes / no) - The schema: (yes / no / don't know) - The default values of configurations: (yes / no) - The wire protocol: (yes / no) - The rest endpoints: (yes / no) - The admin cli options: (yes / no) - Anything that affects deployment: (yes / no / don't know) ### Documentation - **Does this pull request introduce a new feature? (yes / no) yes** - **If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) JavaDocs** - If a feature is not applicable for documentation, explain why? - If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
