Spring boot dynamic data-source routing
-
Updated
May 25, 2023 - Java
Spring boot dynamic data-source routing
datasource-spring-boot-starter. AbstractRoutingDataSource dynamic datasource for springboot,Multiple &Routing&Sharding&RW&Master Slave
基于 AOP、Spring 动态数据源切换、MyBatis 插件开发、散列算法等技术,实现的 SpringBoot Starter 数据库路由组件,该组件在分库分表场景下,支持个性化的分库分表、只分库或只分表,甚至双字段控制分库分表。它的横向扩展性和易维护性为系统的持续发展提供了良好的支持。
数据库分库分表路由中间件,支持编程式事务、多数据源切换、自定义路由策略、个性化路由key、可扩展读写分离
AbstractRoutingDataSource를 활용한 데이타베이스 커넥션 라우팅
Dynamic Data Source Routing using AbstractRoutingDataSource
Add a description, image, and links to the abstractroutingdatasource topic page so that developers can more easily learn about it.
To associate your repository with the abstractroutingdatasource topic, visit your repo's landing page and select "manage topics."