chore: kafka部分参数默认值大小调整

This commit is contained in:
fit2-zhao 2024-05-08 11:03:06 +08:00 committed by Craftsman
parent c00bf37336
commit 9b0f27215a
1 changed files with 4 additions and 2 deletions

View File

@ -39,9 +39,11 @@ spring.datasource.quartz.hikari.connection-test-query=SELECT 1
spring.kafka.bootstrap-servers=${kafka.bootstrap-servers}
spring.kafka.consumer.group-id=metersphere_group_id
spring.kafka.listener.missing-topics-fatal=false
spring.kafka.producer.properties.max.request.size=32428800
# default size 1G
spring.kafka.producer.properties.max.request.size=1073741824
spring.kafka.producer.properties.buffer.memory=1073741824
spring.kafka.consumer.properties.max.partition.fetch.bytes=1073741824
spring.kafka.producer.batch-size=16384
spring.kafka.consumer.properties.max.partition.fetch.bytes=52428800
spring.kafka.producer.acks=1
# mybatis
mybatis.configuration.cache-enabled=true