refactor(性能测试): 设置默认kafka的acks为1
This commit is contained in:
parent
ccd99d7b79
commit
ebf704b4f3
|
@ -10,7 +10,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
public class KafkaProperties {
|
public class KafkaProperties {
|
||||||
public static final String KAFKA_PREFIX = "kafka";
|
public static final String KAFKA_PREFIX = "kafka";
|
||||||
|
|
||||||
private String acks = "0"; // 不要设置all
|
private String acks = "1"; // 不要设置all
|
||||||
private String expectedDelayEndTime = "30000"; // 30s
|
private String expectedDelayEndTime = "30000"; // 30s
|
||||||
private String topic;
|
private String topic;
|
||||||
private String fields;
|
private String fields;
|
||||||
|
|
Loading…
Reference in New Issue