-
Notifications
You must be signed in to change notification settings - Fork 367
Expand file tree
/
Copy pathapplication.yaml
More file actions
103 lines (95 loc) · 2.36 KB
/
Copy pathapplication.yaml
File metadata and controls
103 lines (95 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
server:
port: 9002
spring:
application:
name: index12306-ticket${unique-name:}-service
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: root
url: jdbc:mysql://127.0.0.1:3306/12306_ticket?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
hikari:
connection-test-query: select 1
connection-timeout: 20000
idle-timeout: 300000
maximum-pool-size: 5
minimum-idle: 5
data:
redis:
host: 127.0.0.1
port: 6379
password: 123456
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
config:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
import-check:
enabled: false
username: nacos
password: nacos
sentinel:
transport:
dashboard: localhost:8686
port: 8719
dynamic:
thread-pool:
nacos:
data-id: hippo4j-nacos.yaml
group: DEFAULT_GROUP
config-file-type: yml
executors:
- thread-pool-id: 'select-seat-thread-pool-executor'
alarm: false
allow-core-thread-time-out: true
blocking-queue: SynchronousQueue
core-pool-size: 20
maximum-pool-size: 40
keep-alive-time: 9999
rejected-handler: CallerRunsPolicy
index12306:
jwt:
secret: ${INDEX12306_JWT_SECRET}
rocketmq:
name-server: 127.0.0.1:9876
producer:
group: index12306_ticket${unique-name:}-service_common-message-execute_pg
send-message-timeout: 2000
retry-times-when-send-failed: 1
retry-times-when-send-async-failed: 1
mybatis-plus:
global-config:
db-config:
logic-delete-field: delFlag
logic-delete-value: 1
logic-not-delete-value: 0
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath:mapper/*.xml
framework:
fastjson:
safe-mode: true
cache:
redis:
value-timeout: 16
value-time-unit: days
feign:
client:
config:
default:
connectTimeout: 5000
loggerLevel: HEADERS
readTimeout: 5000
httpclient:
enabled: false
okhttp:
enabled: true
management:
endpoints:
web:
exposure:
include: '*'
metrics:
tags:
application: ${spring.application.name}