refactor(性能测试): 修改kafka默认的acks为0
This commit is contained in:
parent
223b88cfbb
commit
6f18b5426f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue