get
Get a value from a NATS Key/Value bucket.
Get a value from a NATS Key/Value bucket.
Get a value from a NATS Key/Value bucket.
type: "io.kestra.plugin.nats.kv.get"Examples
Gets a value from a NATS Key/Value bucket by keys.
id: nats_kv_get
namespace: company.team
tasks:
- id: get
type: io.kestra.plugin.nats.kv.Get
url: nats://localhost:4222
username: nats_user
password: nats_passwd
bucketName: my_bucket
keys:
- key1
- key2
Gets a value from a NATS Key/Value bucket by keys with revisions.
id: nats_kv_get
namespace: company.team
tasks:
- id: get
type: io.kestra.plugin.nats.kv.Get
url: nats://localhost:4222
username: nats_user
password: nats_passwd
bucketName: my_bucket
keyRevisions:
- key1: 1
- key2: 3
Properties
bucketName*Requiredstring
1The name of the key value bucket.
keys*Requiredarray
The keys of Key/Value pairs.
url*Requiredstring
1URL 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
credsstring
Credentials files authentification
keyRevisionsobject
The keys with revision of Key/Value pairs.
passwordstring
Plaintext authentication password
tokenstring
Token authentification
usernamestring
Plaintext authentication username
Outputs
outputobject
The Key/Value pairs.