Skip to content

spring-boot、Spring MVC、Mybatis、JTA实现多数据源动态切换,读写分离,加入Retry重试机制

Notifications You must be signed in to change notification settings

chengbinbbs/SpringBootDataSourceMutil

Repository files navigation

SpringBootDataSourceMutil

1.利用Spring的AbstractRoutingDataSource解决多数据源问题

2.利用AOP技术实现读写分离

3.引入XA分布式事务

4.引入Spring-Retry框架,出现网络抖动,连接超时等网络异常时加入重试机制

如您觉得该项目对您有用,欢迎点击右上方的Star按钮,给予支持,谢谢!!

About

spring-boot、Spring MVC、Mybatis、JTA实现多数据源动态切换,读写分离,加入Retry重试机制

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published