Put a Key/Value pair into a NATS Key/Value bucket.
yaml
type: "io.kestra.plugin.nats.kv.Put"
Examples
yaml
id: nats_kv_put
namespace: company.team
tasks:
- id: put
type: io.kestra.plugin.nats.kv.Put
url: nats://localhost:4222
username: nats_user
password: nats_passwd
bucketName: my_bucket
values:
- key1: value1
- key2: value2
- key3:
- subKey1: some other value
Properties
bucketName *Requiredstring
Min length
1
The name of the key value bucket.
url *Requiredstring
Min length
1
URL to connect to NATS server
The format is (nats://)server_url: port. You can also provide a connection token like so: nats://token@server_url: port
values *Requiredobject
The Key/Value pairs.
creds string
Credentials files authentification
password string
Plaintext authentication password
token string
Token authentification
username string
Plaintext authentication username
Outputs
revisions object
SubType integer
The revision numbers for each key.