refactor(性能测试): 修改Kafka acks配置
This commit is contained in:
parent
18c300f85e
commit
316617d04a
|
@ -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;
|
private String acks = "all";
|
||||||
private String topic;
|
private String topic;
|
||||||
private String fields;
|
private String fields;
|
||||||
private String timestamp;
|
private String timestamp;
|
||||||
|
|
|
@ -40,7 +40,6 @@ spring.flyway.validate-on-migrate=false
|
||||||
spring.messages.basename=i18n/messages
|
spring.messages.basename=i18n/messages
|
||||||
|
|
||||||
# kafka
|
# kafka
|
||||||
kafka.acks=1
|
|
||||||
kafka.fields=
|
kafka.fields=
|
||||||
kafka.timestamp=yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
kafka.timestamp=yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
||||||
kafka.sample-filter=
|
kafka.sample-filter=
|
||||||
|
|
Loading…
Reference in New Issue