-
Notifications
You must be signed in to change notification settings - Fork 4
/
silo.yaml
executable file
·37 lines (28 loc) · 826 Bytes
/
silo.yaml
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
# number of process, recommended to equal number of cpu cores, 0 means all available cpu cores
threads: 0
# Silo store all messages in bulk mode
# interval in second means how many seconds it should wait to store messages in queue
# count means on how many messages count, it should run archive messages phase
bulk:
interval: 5
count: 1000
# mqtt server information to connect
mqtt:
host: MQTT BROKER IP ADDRESS
port: 1883
username: MQTT USERNAME
clientId: MQTT CLIENT ID
password: MQTT PASSOWRD
ping_interval: 30
topics:
- "#"
- test1
- test2
# engine can be mysql, postgres or monogdb, cassandra
database:
engine: mysql
host: 127.0.0.1
port: 3306
username: DATABASE USERNAME
password: DATABASE PASSWORD
name: DATABASE NAME