处理问题
This commit is contained in:
parent
19326780e3
commit
07f79cfeed
@ -27,7 +27,7 @@ spring:
|
|||||||
max-request-size: 1GB
|
max-request-size: 1GB
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
url: jdbc:mysql://192.168.0.103:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true
|
url: jdbc:mysql://192.168.0.151:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true
|
||||||
db-type: mysql
|
db-type: mysql
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
@ -54,10 +54,10 @@ spring:
|
|||||||
use-global-data-source-stat: true
|
use-global-data-source-stat: true
|
||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://smartcity:smartcity@192.168.0.103:27017/smartcity
|
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
|
||||||
redis:
|
redis:
|
||||||
database: 6
|
database: 6
|
||||||
host: 192.168.0.103
|
host: 192.168.0.156
|
||||||
port: 6379
|
port: 6379
|
||||||
password: 666
|
password: 666
|
||||||
timeout: 3000ms
|
timeout: 3000ms
|
||||||
@ -68,7 +68,7 @@ spring:
|
|||||||
max-idle: 8
|
max-idle: 8
|
||||||
min-idle: 0
|
min-idle: 0
|
||||||
kafka:
|
kafka:
|
||||||
bootstrap-servers: 192.168.0.103:9092
|
bootstrap-servers: 192.168.0.156:9093
|
||||||
producer:
|
producer:
|
||||||
# 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败,
|
# 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败,
|
||||||
# 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。
|
# 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。
|
||||||
@ -100,7 +100,7 @@ swagger:
|
|||||||
base-package-list: ink.wgink,cn.com.tenlion
|
base-package-list: ink.wgink,cn.com.tenlion
|
||||||
|
|
||||||
file:
|
file:
|
||||||
upload-path: C:\Users\wenc0\Desktop\UploadFiles\
|
upload-path: C:\Users\TS-QD1\Desktop\UploadFiles\
|
||||||
image-types: png,jpg,jpeg,gif,blob
|
image-types: png,jpg,jpeg,gif,blob
|
||||||
video-types: mp4,rmvb
|
video-types: mp4,rmvb
|
||||||
audio-types: mp3,wmv,amr
|
audio-types: mp3,wmv,amr
|
||||||
@ -111,7 +111,7 @@ file:
|
|||||||
use-min-io: true
|
use-min-io: true
|
||||||
# 与use-min-io配套使用
|
# 与use-min-io配套使用
|
||||||
min-io:
|
min-io:
|
||||||
endpoint: http://192.168.0.103:9900
|
endpoint: http://192.168.0.156:19000
|
||||||
access-key: smartcity
|
access-key: smartcity
|
||||||
secret-key: smartcity
|
secret-key: smartcity
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ open-platform:
|
|||||||
logging:
|
logging:
|
||||||
# enable-api-log: true
|
# enable-api-log: true
|
||||||
file:
|
file:
|
||||||
name: C:\Users\wenc0\Desktop\UploadFiles\logs\usercenter-logs.log
|
name: C:\Users\TS-QD1\Desktop\UploadFiles\logs\usercenter-logs.log
|
||||||
level:
|
level:
|
||||||
root: error
|
root: error
|
||||||
org.apache.kafka: error
|
org.apache.kafka: error
|
||||||
|
Loading…
Reference in New Issue
Block a user