Coder Social home page Coder Social logo

zengfr / datasource-spring-boot-starter Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 23 KB

datasource-spring-boot-starter. AbstractRoutingDataSource dynamic datasource for springboot,Multiple &Routing&Sharding&RW&Master Slave

License: Apache License 2.0

Java 100.00%
datasource spring springboot abstractroutingdatasource dynamic multiple zengfr dynamic-datasource sharding shards

datasource-spring-boot-starter's Introduction

datasource-spring-boot-starter

datasource-spring-boot-starter. AbstractRoutingDataSource dynamic datasource for springboot,Multiple &Routing&Sharding&RW&Master/Slave https://github.com/zengfr/datasource-spring-boot-starter/

Repositories Central Sonatype Mvnrepository

Maven Dependency:
Not Use Spring Boot:
<dependency>
 <groupId>com.github.zengfr.project</groupId>
 <artifactId>datasource</artifactId>
 <version>0.0.1</version>
<dependency>
Use Spring Boot :
<dependency>
 <groupId>com.github.zengfr.project</groupId>
 <artifactId>datasource-spring-boot-starter</artifactId>
 <version>0.0.1</version>
<dependency>
Gradle:
compile group: 'com.github.zengfr.project', name: 'datasource', version: '0.0.1'
compile group: 'com.github.zengfr.project', name: 'datasource-spring-boot-starter', version: '0.0.1'

javadoc api

<dbconfig>
	<dbsets>
		<dbset name="productdb" provider="SqlServer">
			<db name="productdbm" dbtype="Master" shardid="0" />
			<db name="productdbs" dbtype="Slave" shardid="0" />
		</dbset>
		<dbset name="orderdb" provider="MySql" shardstrategy="">
			<db name="orderdb_S0_W" dbtype="Master" shardid="0" />
			<db name="orderdb_S1_W" dbtype="Master" shardid="1" />
			<db name="orderdb_S2_W" dbtype="Master" shardid="2" />
			<db name="orderdb_S3_W" dbtype="Master" shardid="3" />
			<db name="orderdb00_R" dbtype="Slave" shardid="0" />
			<db name="orderdb01_R" dbtype="Slave" shardid="1" />
			<db name="orderdb02_R" dbtype="Slave" shardid="2" />
			<db name="orderdb03_R" dbtype="Slave" shardid="3" />
			<db name="orderdb03_R1" dbtype="Slave" shardid="3" />
			<db name="orderdb03_R2" dbtype="Slave" shardid="3" />
		</dbset>
	</dbsets>
</dbconfig> 

datasource-spring-boot-starter's People

Contributors

zengfr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.