Consume messages periodically from a NATS subject on a JetStream-enabled NATS server and create one execution per batch.

If you would like to consume each message from a NATS subject in real-time and create one execution per message, you can use the io.kestra.plugin.nats.RealtimeTrigger instead.

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