refactor(性能测试): 修改kafka默认的acks为0

This commit is contained in:
Captain.B 2021-03-29 13:42:29 +08:00
parent 223b88cfbb
commit 6f18b5426f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
public class KafkaProperties {
public static final String KAFKA_PREFIX = "kafka";
private String acks = "all";
private String acks = "0"; // 不要设置all
private String topic;
private String fields;
private String timestamp;