-
Notifications
You must be signed in to change notification settings - Fork 214
/
kafka-test.conf
37 lines (36 loc) · 1.1 KB
/
kafka-test.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
kafka {
consumer {
throttling {
enabled = true
interval = 1s
limit = 100
}
alpakka = ${pekko.kafka.consumer}
alpakka {
poll-timeout = 100ms # overwrites default from reference.conf
kafka-clients {
default.key.serde = "org.apache.kafka.common.serialization.Serdes$StringSerde" # default: org.apache.kafka.common.serialization.Serdes$ByteArraySerde
default.value.serde = "org.apache.kafka.common.serialization.Serdes$StringSerde" # default: org.apache.kafka.common.serialization.Serdes$ByteArraySerde
}
}
metric-collecting-interval = 5s
init-timeout-seconds = 3
}
producer {
queue-size = 39
parallelism = 3
min-backoff = 3s
max-backoff = 30s
random-factor = 0.2
init-timeout-seconds = 3
alpakka = ${pekko.kafka.producer}
alpakka {
close-timeout = 10s # overwrites default from reference.conf
kafka-clients {
connections.max.idle.ms = 540000 # default: 540000 (9min)
reconnect.backoff.max.ms = 10000 # default: 1000
reconnect.backoff.ms = 500 # default: 50
}
}
}
}