-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathradar.yml
111 lines (98 loc) · 3.33 KB
/
radar.yml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: 1.0
released: 2016-11-27
#============================== Zookeeper ==============================#
#List of Zookeeper instances
zookeeper:
- host: localhost
port: 2181
#================================ Kafka ================================#
#List of Kafka brokers
broker:
- host: localhost
port: 9092
#Kafka internal parameters
#============================ Kafka Streams ============================#
#The number of threads that a stream must be run according is priority
stream:
threads_per_priority:
low: 1
normal: 2
high: 4
properties:
max.request.size: 3500042 #Set message.max.bytes for kafka brokers higher than or equal to this value
retries: 15
session.timeout.ms: 20000
streams:
- class: org.radarcns.stream.empatica.E4AccelerationStream
- class: org.radarcns.stream.empatica.E4BatteryLevelStream
- class: org.radarcns.stream.empatica.E4BloodVolumePulseStream
- class: org.radarcns.stream.empatica.E4ElectroDermalActivityStream
- class: org.radarcns.stream.empatica.E4HeartRateStream
- class: org.radarcns.stream.empatica.E4InterBeatIntervalStream
- class: org.radarcns.stream.empatica.E4TemperatureStream
- class: org.radarcns.stream.phone.PhoneAccelerationStream
- class: org.radarcns.stream.phone.PhoneBatteryStream
- class: org.radarcns.stream.phone.PhoneUsageStream
- class: org.radarcns.stream.phone.PhoneUsageAggregationStream
#====================== Source statistics monitor ======================#
source_statistics:
- name: Empatica E4
topics:
- android_empatica_e4_blood_volume_pulse_1min
output_topic: source_statistics_empatica_e4
- name: Biovotion VSM1
topics:
- android_biovotion_vsm1_acceleration_1min
output_topic: source_statistics_biovotion_vsm1
- name: RADAR pRMT
topics:
- android_phone_acceleration_1min
- android_phone_bluetooth_devices
- android_phone_sms
- android_phone_call
- android_phone_contacts
- android_phone_usage_event
- android_phone_relative_location
output_topic: source_statistics_android_phone
#=========================== Schema Registry ===========================#
#List of Schema Registry instances
schema_registry:
- host: localhost
port: 8081
protocol: http
rest_proxy:
host: radar-test.thehyve.net
port: 8082
protocol: http
#======================== Battery level monitor ========================#
battery_monitor:
notify: # Each project can have a number of email addresses
- project_id: s1
email_address:
- project_id: s2
email_address:
level: LOW
email_host: localhost
email_port: 25
email_user: [email protected]
topics:
- android_empatica_e4_battery_level
#======================= Disconnection monitor==========================#
disconnect_monitor:
notify:
- project_id: s1
email_address:
- project_id: s2
email_address:
email_host: localhost
email_port: 25
email_user: [email protected]
topics:
- android_empatica_e4_temperature
timeout: 1800 # seconds after which a stream is set disconnected
alert_repetitions: 2 # number of additional emails to send after the first
# persistence_path: /var/lib/radar/data