引入多数据源及内存数据库
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user