Skip to content

Commit 41dc2d4

Browse files
committed
⚡️ Bump up Kafka concurrency
1 parent d9ff3d7 commit 41dc2d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sequin/runtime/kafka_pipeline.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defmodule Sequin.Runtime.KafkaPipeline do
1919
def processors_config(%SinkConsumer{}) do
2020
[
2121
default: [
22-
concurrency: 100,
22+
concurrency: System.schedulers_online() * 2,
2323
max_demand: 10,
2424
min_demand: 5
2525
]
@@ -30,7 +30,7 @@ defmodule Sequin.Runtime.KafkaPipeline do
3030
def batchers_config(%SinkConsumer{batch_size: batch_size}) do
3131
[
3232
default: [
33-
concurrency: 20,
33+
concurrency: 80,
3434
batch_size: batch_size,
3535
batch_timeout: 50
3636
]

0 commit comments

Comments
 (0)