-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.toml
41 lines (39 loc) · 920 Bytes
/
config.toml
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
[producer]
kafka.nodes = [
"node1:9092",
"node2:9092",
]
kafka.version = "2.8.0"
kafka.topic = "some_dst_topic"
kafka.tls = true
kafka.tls-cafile = "/path/to/ca.crt"
kafka.tls-certfile = "/path/to/cert.crt"
kafka.tls-keyfile = "/path/to/cert.key"
kafka.tls-skip-verify = false
kafka.username = "kafka"
kafka.password = "kafka"
compression = "snappy"
#Partitioner: hash, keepPartition, random
partitioner = "hash"
flush.fequency = 1s
flush.bytes = 5388608
[consumer]
kafka.nodes = [
"node1:9092",
"node2:9092",
]
kafka.topic = "some_dst_topic"
kafka.tls = true
kafka.tls-cafile = "/path/to/ca.crt"
kafka.tls-certfile = "/path/to/cert.crt"
kafka.tls-keyfile = "/path/to/cert.key"
kafka.tls-skip-verify = false
kafka.username = "kafka"
kafka.password = "kafka"
group.id = "my-consumer-group"
offset.retention = 1h
[graphite]
address = "metrics.lan:2003"
prefix = "some.$hostname"
interval = 30s
metric.logging = false