引入多数据源及内存数据库

This commit is contained in:
zhouxiunai
2018-11-28 20:32:19 +08:00
parent 799544ff9c
commit f8d392d5af
23 changed files with 424 additions and 72 deletions
+22 -10
View File
@@ -1,3 +1,24 @@
spring:
datasource:
primary:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
secondary:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
kafka:
producer:
retries: 0
@@ -28,13 +49,4 @@ kafka:
concurrency: 10
group:
id: test
spring:
datasource:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3