-
Notifications
You must be signed in to change notification settings - Fork 204
/
sys.config.example
39 lines (39 loc) · 1.18 KB
/
sys.config.example
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
%% -*- mode: Erlang; fill-column: 80; -*-
[{brod,
[ { clients
%% A client manages a set of tcp connections for all
%% producers and consumers under its hierarchy.
%% see brod_sup.erl for more details about supervision tree
, [ { c1
, [ {endpoints, [{"localhost", 9092}]}
, {restart_delay_seconds, 10}
, {auto_start_producers, true}
, {default_producer_config,
[ {topic_restart_delay_seconds, 10}
, {partition_restart_delay_seconds, 2}
, {required_acks, leader_only}
]
}
]
}
, { c2
, [ {endpoints, [{"localhost", 9093}]}
, {restart_delay_seconds, 10}
, {auto_start_producers, true}
, {default_producer_config,
[ {topic_restart_delay_seconds, 10}
, {partition_restart_delay_seconds, 2}
, {required_acks, all_isr}
]
}
, {ssl,
[ {certfile, "client.crt"}
, {keyfile, "client.key"}
, {cacertfile, "ca.crt"}
]}
]
}
]
}
]
}].