All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ot-hub-server.1.2.1.RELEASE.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 1.2.5.RELEASE
Show newest version
spring:
  profiles.active: dev
  application.name: iot-hub-server
  data:
    ignite:
      persistence-store-path: /usr/local/volumes/ignite
      persistence-initial-size: 128
      persistence-max-size: 512
      not-persistence-initial-size: 128
      not-persistence-max-size: 512
      broker:
        name: iot-hub-server-broker
        enable-multicast-group: false
        static-ip-addresses: ${IGNITE_HOST:127.0.0.1}:47500..47504

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:
  file: /tmp/logs/${spring.application.name}.log
  root: WARN

---

spring:
  profiles: dev
  data:
    ignite:
      persistence-store-path: /Users/longfei/volumes/ignite
      persistence-initial-size: 32
      persistence-max-size: 64
      not-persistence-initial-size: 32
      not-persistence-max-size: 64
      broker:
        enable-multicast-group: true
        multicast-group: 239.255.255.255

logging:
  pattern:
    console: '%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(%-40.40logger{39}){cyan} %clr(-){faint} %m%n'
  level:
    com.feingto.iot: DEBUG
    org:
      apache.ignite: WARN
      springframework:
        security: INFO
        web: INFO

---

spring:
  profiles: test
  data:
    ignite:
      broker:
        enable-multicast-group: true
        multicast-group: 239.255.255.255

---

spring:
  profiles: prod
  data:
    ignite:
      broker:
        enable-multicast-group: false
        static-ip-addresses: ${IGNITE_HOST:10.200.11.16}:47500..47504




© 2015 - 2025 Weber Informatics LLC | Privacy Policy