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/05/19 05:52:26 UTC

[GitHub] [shardingsphere] ssxlulu opened a new issue #5681: A complementary configuration for sharding-scaling

ssxlulu opened a new issue #5681:
URL: https://github.com/apache/shardingsphere/issues/5681


   We will supply a complementary  configuration for sharding-scaling for first using to migrate data from  previous databases to shardingsphere.
   The complementary configuration shows like:
   ```
   {
     "ruleConfiguration": {
       "sourceDatasource": [
         {
           "password": "123456",
           "url": "jdbc:mysql://127.0.0.1:3306/db1?serverTimezone=UTC&useSSL=false",
           "username": "root",
           "table": "test1"
         },
         {
           "password": "123456",
           "url": "jdbc:mysql://127.0.0.1:3306/db2?serverTimezone=UTC&useSSL=false",
           "username": "root",
           "table": "test2"
         }
       ],
       "destinationDataSources": 
         {
           "password": "123456",
           "url": "jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false",
           "username": "root",
         }
     },
     "jobConfiguration": {
       "concurrency": 3
     }
   }
   ```
   I think it is more readable for the people who is first use sharding-scaling for data migration from  previous databases to shardingsphere.


----------------------------------------------------------------
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] Lucas-307 commented on issue #5681: A complementary configuration for sharding-scaling

Posted by GitBox <gi...@apache.org>.
Lucas-307 commented on issue #5681:
URL: https://github.com/apache/shardingsphere/issues/5681#issuecomment-658095799


   After use elastic-job, we will reconstructor this config.


----------------------------------------------------------------
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] avalon5666 commented on issue #5681: A complementary configuration for sharding-scaling

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


   Can we add field to distinguish source and destination component?
   For source, there has jdbc and shardingsphere configuration, the destination is the same as.


----------------------------------------------------------------
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] kimmking commented on issue #5681: A complementary configuration for sharding-scaling

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


   IMO,this config should be generated automatically.


----------------------------------------------------------------
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] terrymanu closed issue #5681: A complementary configuration for sharding-scaling

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #5681:
URL: https://github.com/apache/shardingsphere/issues/5681


   


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