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/27 02:32:14 UTC

[GitHub] [incubator-shardingsphere] KomachiSion commented on issue #2550: Integrate spring batch to do data migration sub-table

KomachiSion commented on issue #2550: Integrate spring batch to do data migration sub-table
URL: https://github.com/apache/incubator-shardingsphere/issues/2550#issuecomment-506131893
 
 
   @duaicxx, `sharding-jdbc-spring-boot-starter` only provide a simple way to configure sharding datasource as `DataSource` bean.
   Any other `spring-boot-starter` which auto configure `DataSource` bean will cause bean conflict or bean override. This is not the responsibility of ShardingSphere.
   
   For your example,  I think you can try to set `default-data-source-name=test` make these tables route to a independent datasource.
   Or you can program custom `@Configuration` to configure multiple `DataSource` bean.
   
   And if you have any idea solved the multiple `DataSource` bean problem, We welcome you initiate a discussion on issue or dev mail-list.

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