|
5 | 5 | %% producers and consumers under its hierarchy.
|
6 | 6 | %% see brod_sup.erl for more details about supervision tree
|
7 | 7 | , [ { c1
|
8 |
| - , [ { endpoints, [{"localhost", 9092}]} |
9 |
| - , { config |
10 |
| - , [ {restart_delay_seconds, 10} |
11 |
| - , {auto_start_producers, true} |
12 |
| - , {default_producer_config, |
13 |
| - [ {topic_restart_delay_seconds, 10} |
14 |
| - , {partition_restart_delay_seconds, 2} |
15 |
| - , {required_acks, -1} |
16 |
| - ] |
17 |
| - } |
| 8 | + , [ {endpoints, [{"localhost", 9092}]} |
| 9 | + , {restart_delay_seconds, 10} |
| 10 | + , {auto_start_producers, true} |
| 11 | + , {default_producer_config, |
| 12 | + [ {topic_restart_delay_seconds, 10} |
| 13 | + , {partition_restart_delay_seconds, 2} |
| 14 | + , {required_acks, -1} |
18 | 15 | ]
|
19 | 16 | }
|
20 | 17 | ]
|
21 | 18 | }
|
22 | 19 | , { c2
|
23 |
| - , [ { endpoints, [{"localhost", 9093}]} |
24 |
| - , { config |
25 |
| - , [ {restart_delay_seconds, 10} |
26 |
| - , {auto_start_producers, true} |
27 |
| - , {default_producer_config, |
28 |
| - [ {topic_restart_delay_seconds, 10} |
29 |
| - , {partition_restart_delay_seconds, 2} |
30 |
| - , {required_acks, -1} |
31 |
| - ] |
32 |
| - } |
33 |
| - , {ssl, [ {certfile, "client.crt"} |
34 |
| - , {keyfile, "client.key"} |
35 |
| - , {cacertfile, "ca.crt"}]} |
| 20 | + , [ {endpoints, [{"localhost", 9093}]} |
| 21 | + , {restart_delay_seconds, 10} |
| 22 | + , {auto_start_producers, true} |
| 23 | + , {default_producer_config, |
| 24 | + [ {topic_restart_delay_seconds, 10} |
| 25 | + , {partition_restart_delay_seconds, 2} |
| 26 | + , {required_acks, -1} |
36 | 27 | ]
|
37 | 28 | }
|
| 29 | + , {ssl, |
| 30 | + [ {certfile, "client.crt"} |
| 31 | + , {keyfile, "client.key"} |
| 32 | + , {cacertfile, "ca.crt"} |
| 33 | + ]} |
38 | 34 | ]
|
39 | 35 | }
|
40 | 36 | ]
|
|
0 commit comments