From ebf704b4f38695819e305b8b1a8721b6edfdc816 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Sat, 22 May 2021 11:03:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4kafka=E7=9A=84acks?= =?UTF-8?q?=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/metersphere/config/KafkaProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/config/KafkaProperties.java b/backend/src/main/java/io/metersphere/config/KafkaProperties.java index 63ade0be9f..38f5efc72a 100644 --- a/backend/src/main/java/io/metersphere/config/KafkaProperties.java +++ b/backend/src/main/java/io/metersphere/config/KafkaProperties.java @@ -10,7 +10,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; public class KafkaProperties { public static final String KAFKA_PREFIX = "kafka"; - private String acks = "0"; // 不要设置all + private String acks = "1"; // 不要设置all private String expectedDelayEndTime = "30000"; // 30s private String topic; private String fields;