Consume messages from a NATS subject on a JetStream-enabled NATS server.

Please note that the server you run the task against must have JetStream enabled for task to work. The server should also have a stream configured to match the given subject.

yaml
type: "io.kestra.plugin.nats.Consume"