build: 配置是否开启内置中间件

This commit is contained in:
CaptainB 2023-05-05 14:18:39 +08:00 committed by 刘瑞斌
parent 451fe17221
commit d4336f9076
4 changed files with 18 additions and 4 deletions

View File

@ -28,7 +28,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1
# #
# spring.kafka # spring.kafka
spring.kafka.bootstrap-servers=${kafka.bootstrap-servers} spring.kafka.bootstrap-servers=${embedded.kafka.brokerList}
spring.kafka.consumer.group-id=metersphere_group_id spring.kafka.consumer.group-id=metersphere_group_id
spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid} spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid}
spring.kafka.listener.missing-topics-fatal=false spring.kafka.listener.missing-topics-fatal=false
@ -74,3 +74,6 @@ spring.session.redis.repository-type=indexed
spring.freemarker.check-template-location=false spring.freemarker.check-template-location=false
spring.groovy.template.check-template-location=false spring.groovy.template.check-template-location=false
# #
minio.endpoint=http://${embedded.minio.host}:${embedded.minio.port}
minio.access-key=${embedded.minio.accessKey}
minio.secret-key=${embedded.minio.secretKey}

View File

@ -7,3 +7,7 @@ embedded.mysql.encoding=utf8mb4
embedded.mysql.collation=utf8mb4_general_ci embedded.mysql.collation=utf8mb4_general_ci
# redis # redis
embedded.redis.enabled=true embedded.redis.enabled=true
# kafka
embedded.kafka.enabled=false
# minio
embedded.minio.enabled=false

View File

@ -28,7 +28,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1
# #
# spring.kafka # spring.kafka
spring.kafka.bootstrap-servers=${kafka.bootstrap-servers} spring.kafka.bootstrap-servers=${embedded.kafka.brokerList}
spring.kafka.consumer.group-id=metersphere_group_id spring.kafka.consumer.group-id=metersphere_group_id
spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid} spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid}
spring.kafka.listener.missing-topics-fatal=false spring.kafka.listener.missing-topics-fatal=false
@ -74,3 +74,6 @@ spring.session.redis.repository-type=indexed
spring.freemarker.check-template-location=false spring.freemarker.check-template-location=false
spring.groovy.template.check-template-location=false spring.groovy.template.check-template-location=false
# #
minio.endpoint=http://${embedded.minio.host}:${embedded.minio.port}
minio.access-key=${embedded.minio.accessKey}
minio.secret-key=${embedded.minio.secretKey}

View File

@ -7,3 +7,7 @@ embedded.mysql.encoding=utf8mb4
embedded.mysql.collation=utf8mb4_general_ci embedded.mysql.collation=utf8mb4_general_ci
# redis # redis
embedded.redis.enabled=true embedded.redis.enabled=true
# kafka
embedded.kafka.enabled=false
# minio
embedded.minio.enabled=false