2025-04-14 09:35:36 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 10015
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: ebike-report
|
|
|
|
|
|
cloud:
|
|
|
|
|
|
nacos:
|
|
|
|
|
|
server-addr: 192.168.2.226:8848 # nacos
|
|
|
|
|
|
username: nacos
|
|
|
|
|
|
password: nacos
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
serialization:
|
|
|
|
|
|
write-dates-as-timestamps: false
|
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
|
kafka:
|
|
|
|
|
|
bootstrap-servers: 192.168.2.226:9092
|
|
|
|
|
|
producer:
|
|
|
|
|
|
retries: 0
|
|
|
|
|
|
key-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
|
|
|
value-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
|
|
|
consumer:
|
|
|
|
|
|
group-id: ${random.uuid}-${spring.application.name}
|
|
|
|
|
|
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
|
|
|
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
|
|
|
listener:
|
|
|
|
|
|
missing-topics-fatal: false
|
|
|
|
|
|
data:
|
|
|
|
|
|
# redis配置
|
|
|
|
|
|
redis:
|
|
|
|
|
|
# Redis数据库索引(默认为0)
|
|
|
|
|
|
database: 2
|
|
|
|
|
|
# Redis服务器地址
|
|
|
|
|
|
host: 192.168.2.226
|
|
|
|
|
|
# Redis服务器连接端口
|
|
|
|
|
|
port: 6379
|
|
|
|
|
|
# Redis服务器连接密码(默认为空)
|
|
|
|
|
|
# password:
|
|
|
|
|
|
# 连接超时时间
|
|
|
|
|
|
lettuce:
|
|
|
|
|
|
pool:
|
|
|
|
|
|
# 连接池最大连接数
|
|
|
|
|
|
max-active: 200
|
|
|
|
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
|
max-wait: -1ms
|
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
|
max-idle: 10
|
|
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
|
|
min-idle: 0
|
2025-05-28 09:43:00 +08:00
|
|
|
|
|
|
|
|
|
|
management:
|
|
|
|
|
|
endpoints:
|
|
|
|
|
|
web:
|
|
|
|
|
|
exposure:
|
|
|
|
|
|
include: health,info
|
|
|
|
|
|
endpoint:
|
|
|
|
|
|
health:
|
|
|
|
|
|
show-details: always
|