application.yml 804 Bytes
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