Publishes events to NATS broker.
This sink does not have any requirements and works with any incoming event type.
The subject (topic) where events should be sent to.
The URL to connect to the NATS broker. It can be provided multiple urls separated by commas(,). (e.g., nats://localhost:4222,nats://localhost:4223)
The username to authenticate the client with NATS broker.
It is an optional configuration.
The password to authenticate the client with NATS broker.
It is an optional configuration.
All other possible connection configurations that the nats client can be created with. It can be provided as key value pairs separated by colons(:) and commas(,). (e.g., io.nats.client.reconnect.max:1, io.nats.client.timeout:1000)
It is an optional configuration.
(not applicable for data sinks)