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
server:
port: 9095
spring:
application:
name: protocol-proxy-service
task:
execution:
pool:
core-size: 20
queue-capacity: 5
main:
#重复Bean允许覆盖
allow-bean-definition-overriding: true
configuration:
cache-enabled: true
# 设备信息
device:
# THTPP-:用户前缀
code: HTPP-zykt-test1
broker-password: ENC(hFtYOabihlusWfhdY6UT2ZpSzicB7hitKzyCGd1n6BDE926LPjvw0xrySgvIfT2F)
#mqtt
mqtt:
#mqtt 是否开启
run: ${ MQTT_RUN:true}
connection:
thinker:
broker: tcp://39.108.185.243:1883
clientId: ${device.code}
username: ${device.code}
cleanSession: false
password: ${device.broker-password}
jasypt:
encryptor:
bean: stringEncryptor
api-limit:
# 每秒最多请求多少次
secondLimit: 0.1