application.yml
880 字节
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
##服务器配置
server:
tomcat:
uri-encoding: UTF-8
port: 4887
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://175.24.61.68:1883
#唯一标识
clientId: ${random.uuid}
topicconfig: "/{{roleid}}/{{username}}/{{clientid}}/{{payloadtype}}/{{topicType}}/{{messageid}}"
username: sysuser
password: "!@#1qaz"
client:
#客户端操作时间
operationTime: 10
# NameServer地址
rocketmq:
name-server: 47.115.144.179:9876
# 默认的消息组
producer:
group: lh-device-operation-service
send-message-timeout: 30000
send-topic: lh-device-operation-service
send-tags: 1