application.yml 833 字节
##服务器配置
server:
  tomcat:
    uri-encoding: UTF-8
  port: 4883
  servlet:
    context-path: /

spring:
  messages:
    encoding: UTF-8
  mvc:
    #出现错误时, 直接抛出异常
    throw-exception-if-no-handler-found: true
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
    default-property-inclusion: non_null

mqtt:
  #链接地址
  broker: tcp://47.112.163.61:1883
  #唯一标识
  clientId: ${random.uuid}
  #公司id
  roleid: 2
  mqtt_usernames: PLC_004
  #订阅的topic
  topics: ALL_POST,PUT_REQ
  sub_clientid: '#'
  topicconfig: "/{{roleid}}/{{username}}/{{topicType}}/{{clientid}}"
  top_return_map: '{"PUT":"PUT_REQ"}'
  username: sysuser
  password: "!@#1qaz"
  client:
    #客户端操作时间
    operationTime: 10

sys:
  redis:
    field: "lh:mqttservice:"
  isText: false