ot-hub-server.1.0.3.RELEASE.source-code.application.yml Maven / Gradle / Ivy
spring:
profiles.active: dev
application.name: iot-hub-server
netty:
port: 9090
ws-port: 9080
boss-thread: 2
work-thread: 4
backlog: 1024 # 缓冲区队列大小
keepalive: true # 长连接
ssl: false
key-store: classpath:iot-hub.p12
key-store-password: 3a19a4a43d094bad92c4b3afe43c428b
mqtt:
port: 6090
ws-port: 6080
keep-alive-interval: 120 # 心跳频率, 单位秒
logging:
pattern:
console: '%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}) %clr(%5p) %clr(%-40.40logger{39}){cyan} %clr(-){faint} %m%n'
level:
org:
springframework:
security: INFO
web: INFO
---
spring:
profiles: dev
data:
ignite:
persistence-store-path: /Users/longfei/tmp/ignite
wal-path: /Users/longfei/tmp/ignite/wal
wal-archive-path: /Users/longfei/tmp/ignite/wal/archive
persistence-initial-size: 32
persistence-max-size: 64
not-persistence-initial-size: 32
not-persistence-max-size: 64
broker:
name: iot-hub-server-broker
enable-multicast-group: true
multicast-group: 239.255.255.255
logging:
file: /tmp/logs/${spring.application.name}.log
level:
com.feingto.iot: DEBUG
---
spring:
profiles: prod
data:
ignite:
persistence-store-path: /usr/local/data/ignite
wal-path: /usr/local/data/ignite/wal
wal-archive-path: /usr/local/data/ignite/wal/archive
persistence-initial-size: 256
persistence-max-size: 1024
not-persistence-initial-size: 256
not-persistence-max-size: 1024
broker:
name: iot-hub-server-broker
enable-multicast-group: false
static-ip-addresses: 172.16.137.76, 172.16.166.146
logging:
file: /tmp/logs/${spring.application.name}.log
level:
root: WARN
© 2015 - 2025 Weber Informatics LLC | Privacy Policy