You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/09/07 08:54:53 UTC

[GitHub] codelipenghui opened a new pull request #2543: Add ServiceUrlProvider and add method forceCloseConnection in PulsarC…

codelipenghui opened a new pull request #2543: Add ServiceUrlProvider and add method forceCloseConnection in PulsarC…
URL: https://github.com/apache/incubator-pulsar/pull/2543
 
 
   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.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services