-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yaml
39 lines (39 loc) · 933 Bytes
/
config.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
36
37
38
39
# Required
bunyan:
# Required
name: "bessersmith"
level: "info"
# Required
mqtt:
# Required
subscribe:
url: "mqtts://MY_MQTT_BROKER_1.com"
connectionOptions:
port: 8883
clientId: "bessersmith-sub-MY_RANDOM_SUFFIX_1"
clean: false
reconnectPeriod: 10000
username: MY_MQTT_USERNAME_1
password: MY_MQTT_PASSWORD_1
subscriptionOptions:
qos: 1
# Required
topic: "SUBSCRIBE/TO/MONO/PREDICTIONS/#"
# Required
publish:
url: "mqtts://MY_MQTT_BROKER_2.com"
connectionOptions:
port: 8883
clientId: "bessersmith-pub-MY_RANDOM_SUFFIX_2"
clean: true
reconnectPeriod: 10000
username: MY_MQTT_USERNAME_2
password: MY_MQTT_PASSWORD_2
publishingOptions:
qos: 1
# Required
topic: "PUBLISH/GTFS/REALTIME/TRIPUPDATES"
logIntervalInSeconds: 60
cacheTTLInSeconds: 7200
# Required
protoPath: "./gtfs-realtime.proto"