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 2021/04/02 09:44:39 UTC

[GitHub] [shardingsphere] JiekerTime opened a new issue #9920: IT cannot build governance environment

JiekerTime opened a new issue #9920:
URL: https://github.com/apache/shardingsphere/issues/9920


   In the JDBC governance module of the integrated testing framework, because the local zookeeper port is randomly mapped to the local, we cannot fill in the rules.xml information like the following:
   ```
   governance:
     name: governance_ds
     registryCenter:
       type: ZooKeeper
       serverLists: zk:2181
       props:
         retryIntervalMilliseconds: 500
         timeToLiveSeconds: 60
         maxRetries: 3
         operationTimeoutMilliseconds: 500
     overwrite: true
   ```
   We may have two ways to solve this problem.
   
   1. Fix the local mapping port for zookeeper, but this goes against the idea of Container.
   2. Implement the governance interface like Mysql, which may require code refactoring.


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



[GitHub] [shardingsphere] dongzl commented on issue #9920: IT cannot build governance environment

Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #9920:
URL: https://github.com/apache/shardingsphere/issues/9920#issuecomment-812833526


   Hi @JiekerTime , if you have a good idea, you can submit a PR and fix it, Thanks.


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