spring:
|
redis:
|
database: 0
|
host: localhost
|
port: 6379
|
password: root
|
timeout: 3000
|
thymeleaf:
|
cache: false
|
|
#MQTT-服务端地址
|
|
mqtt:
|
host: tcp://82.156.1.83:1884
|
#username=admin #MQTT-服务端用户名
|
#password=public #MQTT-服务端密码
|
cleansession: false #MQTT-是否清理session
|
#MQTT-当前客户端的唯一标识
|
clientid: mqtt_publish
|
default_topic: TEST #当前客户端的默认主题(大多数时候没什么用)
|
#发送超时时间
|
mqtt.timeout: 1000
|
#心跳时间
|
keepalive: 10
|
connectionTimeout: 3000 #连接超时时间
|
dataReceiveTopic: forward/testxxx #从iot平台接收mqtt采集数据的topic forward/test
|
# mysql
|
datasource:
|
type: mysql
|
url: jdbc:mysql://120.46.212.231:3306/smart_boot?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
port: 3306
|
username: qwmdc
|
password: Kknd_1234
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
#iotdb 以及其jdbc一起配置
|
iotdb:
|
driver: org.apache.iotdb.jdbc.IoTDBDriver
|
host: 120.46.212.231 #120.46.212.231 localhost
|
port: 6667
|
maxSize: 100
|
username: root
|
password: root
|
|
xxl:
|
job:
|
admin:
|
### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
|
addresses: http://127.0.0.1:8080/xxl-job-admin
|
### xxl-job executor address
|
executor:
|
appname: qwmdc-collect
|
ip:
|
port: 8802
|
### xxl-job log path
|
logpath: /qwlogs/xxl-job/jobhandler
|
### xxl-job log remain days
|
logretentiondays: 7
|
### xxl-job, access token
|
accessToken:
|