peng
2026-03-18 e59a0201057ba67cad425fed804c82ff4ba0c6f1
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
server:
  port: 8080
cube:
  resources:
    #文件上传根目录 设置
    upload-path: /app/files
    #webapp文件路径
    webapp: /app/webapp
  apr:
    enable-tomcat-native: false
  crypto:
    aes-key: ''
    sm4-key: ''
    rsa-public-key: ''
    rsa-private-key: ''
    sm2-public-key: ''
    sm2-private-key: ''
  data:
    host: 25.30.15.85
# 自定义输出日志
logging:
  level:
    ROOT: ${LOGLEVEL:INFO}
    org.springframework: ${LOGLEVEL:INFO}
    java.sql.Connection: ${LOGLEVEL:INFO}
    java.sql.Statement: ${LOGLEVEL:INFO}
    org.apache: ${LOGLEVEL:INFO}
    com.tievd.exam: ${LOGLEVEL:INFO}
    org.jeecg.modules.system.mapper: ${LOGLEVEL:INFO}
spring:
  datasource:
    dynamic:
      datasource:
        master:
          url: jdbc:mysql://127.0.0.1:3306/cube_jyz?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
          username: root
          password: 123456
          driver-class-name: com.mysql.cj.jdbc.Driver
  redis:
    database: 2
    host: 127.0.0.1
    port: 6379
#    password: '12345678'
 
  kafka:
    bootstrap-servers:  ${KAFKA_SERVERS:25.30.9.61:9092}
    consumer:
      group-id: ${KAFKA_GROUP_ID:service-message-center-2}
      auto-offset-reset: latest
      enable-auto-commit: false
      key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
      value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
    producer:
      key-serializer: org.apache.kafka.common.serialization.StringSerializer
      value-serializer: org.apache.kafka.common.serialization.StringSerializer
    listener:
      # 未发现topic时不报错: 自动创建topic需要设置为false
      missing-topics-fatal: false
      ack-mode: manual_immediate
 
init:
  # minio文件上传
  minio:
    minio_url: http://127.0.0.1:9000
    minio_name: minioadmin
    minio_pass: minioadmin
    bucketName: aio
 
mqtt:
  serverURIs: tcp://127.0.0.1:1888
  username: device
  password: SCty@123
  client:
    id: center
  topic: topic_default
  completionTimeout: 3000
  sendTopicName: /ty/aibox/command/
  reciveTopiceName: /ty/center/command/+,/ty/center/event/+