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 2020/12/21 07:14:35 UTC

[GitHub] [shardingsphere] iamif3000 commented on issue #8695: [question] how to use yaml configuration for sharding-jdbc orchestration

iamif3000 commented on issue #8695:
URL: https://github.com/apache/shardingsphere/issues/8695#issuecomment-748808149


   找到答案了。
   需要这样配置,就可以正常工作了。
   ```
   dataSources:
   
   shardingRule:
   
   orchestration:
     or_name:
       orchestrationType: registry_center,config_center,distributed_lock_manager
       instanceType: zookeeper
       serverLists: localhost:2181
       namespace: test_ns
       props:
         overwrite: false
         retryIntervalMilliseconds: 500
         timeToLiveSeconds: 60
         maxRetries: 3
         operationTimeoutMilliseconds: 500
   ```


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