#2671 Refactored to simplify API for adding ServiceUrlProvider

use

```java
this.getPulsarClient().updateServiceUrl(newServiceUrl);
```
replace

```java 
this.getPulsarClient().getConf().setServiceUrl(newServiceUrl);
this.getPulsarClient().reloadLookUp();
this.getPulsarClient().forceCloseConnection();
```


[ Full content available at: https://github.com/apache/pulsar/issues/2551 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to