-
Notifications
You must be signed in to change notification settings - Fork 386
/
Copy pathreference.conf
80 lines (63 loc) · 2.49 KB
/
reference.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Properties for akka.kafka.ProducerSettings can be
# defined in this section or a configuration section with
# the same layout.
akka.kafka.producer {
# Tuning parameter of how many sends that can run in parallel.
parallelism = 5
# How long to wait for `KafkaProducer.close`
close-timeout = 60s
# Fully qualified config path which holds the dispatcher configuration
# to be used by the producer stages. Some blocking may occur.
# When this value is empty, the dispatcher configured for the stream
# will be used.
use-dispatcher = "akka.kafka.default-dispatcher"
# Properties defined by org.apache.kafka.clients.producer.ProducerConfig
# can be defined in this configuration section.
kafka-clients {
}
}
# Properties for akka.kafka.ConsumerSettings can be
# defined in this section or a configuration section with
# the same layout.
akka.kafka.consumer {
# Tuning property of scheduled polls.
poll-interval = 100ms
# Tuning property of the `KafkaConsumer.poll` parameter.
# Note that non-zero value means that blocking of the thread that
# is executing the stage will be blocked.
poll-timeout = 50ms
# Tuning property of the `KafkaConsumer.poll` parameter when there
# are outstanding offset commit requests.
# Note that non-zero value means that blocking of the thread that
# is executing the stage will be blocked.
poll-commit-timeout = 1ms
# The stage will be await outstanding offset commit requests before
# shutting down, but if that takes longer than this timeout it will
# stop forcefully.
stop-timeout = 30s
# How long to wait for `KafkaConsumer.close`
close-timeout = 20s
# If offset commit requests are not completed within this timeout
# the returned Future is completed `TimeoutException`.
commit-timeout = 15s
# Fully qualified config path which holds the dispatcher configuration
# to be used by the consumer stages. Some blocking may occur.
# When this value is empty, the dispatcher configured for the stream
# will be used.
use-dispatcher = "akka.kafka.default-dispatcher"
# Properties defined by org.apache.kafka.clients.consumer.ConsumerConfig
# can be defined in this configuration section.
kafka-clients {
# Disable auto-commit by default
enable.auto.commit = false
}
}
# The dispatcher that will be used by default by consumer and
# producer stages.
akka.kafka.default-dispatcher {
type = "Dispatcher"
executor = "thread-pool-executor"
thread-pool-executor {
fixed-pool-size = 16
}
}