add nats to smoke test config

This commit is contained in:
Joel Wetzell
2026-05-19 09:05:41 -05:00
parent 54ee4a2dde
commit bd8368fbb1
+26
View File
@@ -38,6 +38,20 @@ modules:
type: websocket.client
params:
url: "wss://echo.websocket.org"
- id: natsserver
type: nats.server
params:
port: 4222
- id: natsout
type: nats.client
params:
url: "nats://localhost:4222"
subject: "hello"
- id: natsin
type: nats.client
params:
url: "nats://localhost:4222"
subject: "test"
routes:
- input: ticker
processors:
@@ -82,4 +96,16 @@ routes:
module: "sqlite"
query: "SELECT 1;"
- type: debug.log
- input: natsin
processors:
- type: debug.log
- input: ticker
processors:
- type: nats.message.create
params:
subject: "test"
payload: "hello"
- type: router.output
params:
module: natsout