Support build Pulsar client with serviceUrlProvider method.

### Motivation

With serviceUrlProvider we can store the pulsar service url in zookeeper or any 
other config service.
And we can watch the service url change event then control the pulsar client, 
such as change pulsar client serviceUrl, force close client connection or 
re-connect with new service url.

### Modifications

Add ServiceUrlProvider interface.
Add forceCloseConnection method in PulsarClient.


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

Reply via email to