|
1 | 1 | {
|
2 |
| - "listeners": [{ |
3 |
| - "proto": "http", |
4 |
| - "port": 2057, |
5 |
| - "mode": "epoll", |
6 |
| - "num_threads": 20, |
7 |
| - "redborder_uri": true |
8 |
| - }], |
9 |
| - "brokers": "kafka", |
10 |
| - "topic": "rb_flow", |
11 |
| - "n2kafka_id": "n2kafka_test", |
12 |
| - "rdkafka.socket.max.fails": "3", |
13 |
| - "rdkafka.socket.keepalive.enable": "true", |
14 |
| - "blacklist": ["192.168.101.3"], |
15 |
| - "rb_http2k_config": { |
16 |
| - "sensors_uuids": { |
17 |
| - "abc": { |
18 |
| - "enrichment": { |
19 |
| - "a": 1, |
20 |
| - "b": "c", |
21 |
| - "d": true, |
22 |
| - "e": null |
23 |
| - }, |
24 |
| - "organization_uuid": "abc_org" |
25 |
| - }, |
26 |
| - "def": { |
27 |
| - "enrichment": { |
28 |
| - "f": 1, |
29 |
| - "g": "w", |
30 |
| - "h": false, |
31 |
| - "i": null |
32 |
| - }, |
33 |
| - "organization_uuid": "def_org" |
34 |
| - } |
| 2 | + "listeners": [{ |
| 3 | + "proto": "http", |
| 4 | + "port": 2057, |
| 5 | + "mode": "epoll", |
| 6 | + "num_threads": 20, |
| 7 | + "redborder_uri": true, |
| 8 | + "decode_as": "rb_http2k" |
| 9 | + }], |
| 10 | + "brokers": "172.26.0.3", |
| 11 | + "n2kafka_id": "n2kafka_test", |
| 12 | + "rdkafka.socket.max.fails": "3", |
| 13 | + "rdkafka.socket.keepalive.enable": "true", |
| 14 | + "blacklist": ["192.168.101.3"], |
| 15 | + "rb_http2k_config": { |
| 16 | + "sensors_uuids": { |
| 17 | + "abc": { |
| 18 | + "enrichment": { |
| 19 | + "a": 1, |
| 20 | + "b": "c", |
| 21 | + "d": true, |
| 22 | + "e": null |
35 | 23 | },
|
36 |
| - "organizations_uuids": { |
37 |
| - "abc_org": { |
38 |
| - "enrichment": { |
39 |
| - "a_org": 10 |
40 |
| - }, |
41 |
| - "limits": { |
42 |
| - "bytes": 10240 |
43 |
| - } |
44 |
| - }, |
45 |
| - "def_org": { |
46 |
| - "enrichment": { |
47 |
| - "b_org": 20 |
48 |
| - }, |
49 |
| - "limits": { |
50 |
| - "bytes": 20480 |
51 |
| - } |
52 |
| - } |
| 24 | + "organization_uuid":"abc_org" |
| 25 | + }, |
| 26 | + "def": { |
| 27 | + "enrichment": { |
| 28 | + "f": 1, |
| 29 | + "g": "w", |
| 30 | + "h": false, |
| 31 | + "i": null |
53 | 32 | },
|
54 |
| - "topics": { |
55 |
| - "rb_flow": { |
56 |
| - "partition_key": "client_mac", |
57 |
| - "partition_algo": "mac" |
58 |
| - }, |
59 |
| - "rb_event": {} |
| 33 | + "organization_uuid":"def_org" |
| 34 | + } |
| 35 | + }, |
| 36 | + "organizations_uuids": { |
| 37 | + "abc_org": { |
| 38 | + "enrichment": { |
| 39 | + "a_org":10 |
| 40 | + }, |
| 41 | + "limits": { |
| 42 | + "bytes": 10240 |
| 43 | + } |
| 44 | + }, |
| 45 | + "def_org": { |
| 46 | + "enrichment": { |
| 47 | + "b_org":20 |
| 48 | + }, |
| 49 | + "limits": { |
| 50 | + "bytes": 20480 |
60 | 51 | }
|
| 52 | + } |
| 53 | + }, |
| 54 | + "organizations_sync": { |
| 55 | + "put_url": "http://localhost:80/", |
| 56 | + "topics": ["rb_monitor","rb_event"], |
| 57 | + "interval_s": 5, |
| 58 | + "clean_on": { |
| 59 | + "timestamp_s_mod":5, |
| 60 | + "timestamp_s_offset":4 |
| 61 | + } |
| 62 | + }, |
| 63 | + "topics": { |
| 64 | + "rb_flow": { |
| 65 | + "partition_key": "client_mac", |
| 66 | + "partition_algo": "mac" |
| 67 | + }, |
| 68 | + "rb_event": {} |
61 | 69 | }
|
| 70 | + } |
62 | 71 | }
|
0 commit comments