You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/05/31 23:37:30 UTC

[GitHub] sijie opened a new pull request #1459: [table service] cleanup : provide unified service uri for resolving service endpoints

sijie opened a new pull request #1459: [table service] cleanup : provide unified service uri for resolving service endpoints
URL: https://github.com/apache/bookkeeper/pull/1459
 
 
   Descriptions of the changes in this PR:
   
   *Motivation*
   
   Currently there are multiple settings in `StorageClientSettings` on configuring how to resolve
   service endpoints to find the services. It is a bit inconvinient and confusing
   
   *Solution*
   
   Provide a class `ServiceURI` for parsing service uri to retrieve common informations including:
   
   - serviceName
   - serviceInfos
   - serviceUser
   - serviceHosts
   - servicePath
   
   It extends the java.net.URI and does parsing and validation in the same place. Then it can be used
   by the grpc name resolver to resolve service endpoints.
   
   Also update dlog to use it for resolving its namespace uri.
   

----------------------------------------------------------------
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