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