Browse Source

Increase Kafka linger ms to 5 ms for js-executors.

pull/6836/head
Igor Kulikov 4 years ago
parent
commit
c1e6684a2c
  1. 2
      msa/js-executor/config/default.yml

2
msa/js-executor/config/default.yml

@ -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…
Cancel
Save