Updated the default weatherfeeder config.yml to include output to NATS.
This commit is contained in:
@@ -53,7 +53,17 @@ sinks:
|
|||||||
driver: stdout
|
driver: stdout
|
||||||
params: {}
|
params: {}
|
||||||
|
|
||||||
|
- name: nats_weatherfeeder
|
||||||
|
driver: nats
|
||||||
|
params:
|
||||||
|
url: nats://nats:4222
|
||||||
|
exchange: weatherfeeder
|
||||||
|
|
||||||
|
# optional: route events to this sink
|
||||||
routes:
|
routes:
|
||||||
|
- sink: nats_weatherfeeder
|
||||||
|
kinds: ["observation", "forecast", "alert"]
|
||||||
|
|
||||||
- sink: stdout
|
- sink: stdout
|
||||||
kinds: ["observation", "forecast", "alert"]
|
kinds: ["observation", "forecast", "alert"]
|
||||||
...
|
...
|
||||||
Reference in New Issue
Block a user