2019年12月30日
摘要: 接 SpringBoot 动态配置数据源-进阶-可视化动态配置数据源-1 配置文件修改后,需要使配置生效 采用springcloud 配置 jar : spring-cloud-starter-config + spring-boot-starter-actuator <dependency> <g 阅读全文
posted @ 2019-12-30 10:46 FeeCy 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 固定配置多数据源:https://www.cnblogs.com/feecy/protected/p/11847207.html springboot-yml 配置编辑 节点配置: slave: datasource: names: N1,N2 N1: driver-class-name: com. 阅读全文
posted @ 2019-12-30 10:45 FeeCy 阅读(1044) 评论(0) 推荐(0) 编辑