shibd opened a new pull request, #170: URL: https://github.com/apache/pulsar-client-cpp/pull/170
Master Issue: https://github.com/apache/pulsar/pull/2543 ### Motivation #163 `ServiceUrlProvider` is provided so that users can dynamically update serviceUrl, and can be easily implemented [#164 cluster level auto failover](https://github.com/apache/pulsar-client-cpp/issues/164). ### Modifications - Add the `ServiceUrlProvider` interface. - Add the `updateServiceUrl` method in the Client. - `Client` add new constructor method to support set `ServiceUrlProvider` instance param. ### Verifying this change - Add `ServiceUrlProviderTest` to cover custom `ServiceUrlProvider`. ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [x] `doc-required` (Your PR needs to update docs and you will update later) - [ ] `doc-not-needed` (Please explain why) - [ ] `doc` (Your PR contains doc changes) - [ ] `doc-complete` (Docs have been already added) -- 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]
