Create Key/Value bucket in NATS.

yaml
type: "io.kestra.plugin.nats.kv.createbucket"

Creates a new Key/Value bucket, with all required properties.

yaml
id: nats_kv_create_bucket
namespace: company.team

tasks:
  - id: create_bucket
    type: io.kestra.plugin.nats.kv.CreateBucket
    url: nats://localhost:4222
    username: nats_user
    password: nats_passwd
    name: my_bucket

Creates a new Key/Value bucket.

yaml
id: nats_kv_create_bucket
namespace: company.team

tasks:
  - id: create_bucket
    type: io.kestra.plugin.nats.kv.CreateBucket
    url: nats://localhost:4222
    username: nats_user
    password: nats_passwd
    name: my_bucket
    description: my bucket for special purposes
    historyPerKey: 2
    bucketSize: 1024
    valueSize: 1024
    metadata: {"key1":"value1","key2":"value2"}
Properties
Min length1
Min length1

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

Credentials files authentification

The description of the key value bucket.

Default1
SubTypestring

The metadata of the key value bucket.

Plaintext authentication password

Token authentification

Plaintext authentication username

The name of the key value bucket.

Default0

The maximum size in bytes for this bucket.

The description of the bucket.

Default0

The number of total entries in the bucket, including historical entries.

Default0

The maximum number of history for a key.

SubTypestring

The metadata for the store

Default0

The maximum size in bytes for an individual value in the bucket.