-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml.template
60 lines (57 loc) · 1.56 KB
/
config.yaml.template
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
sensors:
- name: "coral_enviro_temperature"
module: "sensors.coral_enviro"
class: "CoralEnviroTemperatureSensor"
publishing_topic: "coral-enviro-temperature"
poll_frequency_ms: 1000
flush_size: 10
flush_after_s: 1000
- name: "coral_enviro_humidity"
module: "sensors.coral_enviro"
class: "CoralEnviroHumiditySensor"
publishing_topic: "coral-enviro-humidity"
poll_frequency_ms: 1000
flush_size: 10
flush_after_s: 1000
- name: "coral_enviro_light"
module: "sensors.coral_enviro"
class: "CoralEnviroLightSensor"
publishing_topic: "coral-enviro-light"
poll_frequency_ms: 1000
flush_size: 10
flush_after_s: 1000
- name: "th02_temperature"
module: "sensors.th02_temperature"
class: "Th02TemperatureSensor"
publishing_topic: "th02-temperature"
poll_frequency_ms: 1000
flush_size: 10
flush_after_s: 1000
publisher:
module: 'pubsub.redis_publisher'
class: 'RedisPublisher'
connection:
module: 'pubsub.redis_connection'
class: 'RedisConnection'
host: 'localhost'
port: '6379'
user: ''
password: ''
args: {}
publisher_max_threads: 5
converter:
name: 'avro'
module: 'commons.message_converter'
class: 'AvroValidatedJsonConverter'
schema_retriever:
module: 'commons.schema'
class: 'GithubAvroSchemaRetriever'
args:
repo_owner: 'RADAR-base'
repo_name: 'RADAR-Schemas'
branch: 'sensors'
basepath: 'commons/iot/sensor'
extension: '.avsc'
expose_topic_endpoint: True
root_logger_level: DEBUG
scheduler_max_threads: 10