From a587b7bcb583485260756260bc9d12f5bcfb3b6c Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 21 Dec 2023 13:36:20 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=BF=E6=8D=A2=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/metersphere/api/config/KafkaConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/config/KafkaConfig.java b/backend/services/api-test/src/main/java/io/metersphere/api/config/KafkaConfig.java index f48a1461d0..2cda83f10e 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/config/KafkaConfig.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/config/KafkaConfig.java @@ -20,7 +20,7 @@ public class KafkaConfig { @Autowired public KafkaConfig(KafkaProperties kafkaProperties) { - ProducerFactory producerFactory = new DefaultKafkaProducerFactory<>(kafkaProperties.buildProducerProperties()); + ProducerFactory producerFactory = new DefaultKafkaProducerFactory<>(kafkaProperties.buildProducerProperties(null)); defaultMap = producerFactory.getConfigurationProperties(); }