diff --git a/config.smoke.yaml b/config.smoke.yaml index f49dfed..5fd352d 100644 --- a/config.smoke.yaml +++ b/config.smoke.yaml @@ -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