You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/06/17 05:48:50 UTC

[GitHub] [incubator-shardingsphere] KomachiSion commented on issue #2565: How to read the configuration from ZK every time the service is restarted

KomachiSion commented on issue #2565: How to read the configuration from ZK every time the service is restarted
URL: https://github.com/apache/incubator-shardingsphere/issues/2565#issuecomment-502543138
 
 
   Remove datasource configuration in local properties file or yaml file, Sharding-jdbc will load configuration from registry center.
   
   For example, configuration #2531 you provided can change to 
   ```
   <orchestraion:registry-center id="regCenter" type="zookeeper" server-lists="localhost:2182" namespace="pay-sharding-orchestration" operation-timeout-milliseconds="1000" max-retries="3" />
   <orchestraion:sharding-data-source id="shardingOrchestration" registry-center-ref="regCenter" />
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services