server: port: 8099 spring: application: name: qwcollect profiles: active: dev datasource: dynamic: primary: master datasource: master: url: ${datasource.url} username: ${datasource.username} password: ${datasource.password} driver-class-name: ${datasource.driver-class-name} hikari: minimum-idle: 5 maximum-pool-size: 15 auto-commit: true idle-timeout: 30000 pool-name: DatebookHikariCP max-lifetime: 1800000 connection-timeout: 30000 connection-test-query: SELECT 1 iotdb: driver-class-name: ${iotdb.driver} url: jdbc:iotdb://${iotdb.host}:${iotdb.port}/ username: ${iotdb.username} password: ${iotdb.password} type: com.zaxxer.hikari.HikariDataSource hikari: minimum-idle: 5 maximum-pool-size: 50 auto-commit: true idle-timeout: 30000 pool-name: DatebookHikariCP max-lifetime: 1800000 connection-timeout: 10000 connection-test-query: select count(*) from root.test mybatis: configuration: cache-enabled: true map-underscore-to-camel-case: true mapper-locations: classpath:mapper/*.xml type-aliases-package: com.qianwen.mdc.collect.entity.iotdb,com.qianwen.mdc.collect.entity.mgr #com.qianwen.mdc.collect.entity.iotdb #离线判定时长(毫秒),超过这个时长无采集数据判定为离线 offlineConfigDuration: 300000 wfg: # 请一定注意! WorkerIdBitLength + SeqBitLength + DataCenterIdBitLength <= 22 # 1表示雪花漂移算法,2表示传统雪花算法 method: 1 # 基础时间,为2023-07-01 00:00:00 id>0 baseTime: 1688140800000 # 数据中心id dataCenterId: 0 # 数据中心id位长,默认为0表示不开启数据中心id功能 dataCenterIdBitLength: 0 # 机器码(当前系统的机器码) workerId: 0 # 机器码位长(能表示机器码的最大值) workerIdBitLength: 1 # 序列数位长(能表示机器码的最大序列数) seqBitLength: 6 # 最大序列数(含) maxSeqNumber: 0 # 最小序列数(含) minSeqNumber: 5 # 最大漂移次数,与计算能力有关 topOverCostCount: 2000