Increase Kafka linger ms to 5 ms for js-executors.
This commit is contained in:
parent
c3d11ace34
commit
c1e6684a2c
@ -28,7 +28,7 @@ kafka:
|
||||
replication_factor: "1"
|
||||
acks: "1" # -1 = all; 0 = no acknowledgments; 1 = only waits for the leader to acknowledge
|
||||
batch_size: "128" # for producer
|
||||
linger_ms: "1" # for producer
|
||||
linger_ms: "5" # for producer
|
||||
partitions_consumed_concurrently: "1" # (EXPERIMENTAL) increase this value if you are planning to handle more than one partition (scale up, scale down) - this will decrease the latency
|
||||
requestTimeout: "30000" # The default value in kafkajs is: 30000
|
||||
compression: "gzip" # gzip or uncompressed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user