NATS Delete

NATS Delete

Certified

Delete keys from NATS Key/Value bucket

Removes the latest value for each provided key and writes a delete marker. Bucket name and keys are rendered, and the bucket must already exist.

yaml
type: io.kestra.plugin.nats.kv.Delete
yaml
id: nats_kv_delete
namespace: company.team

tasks:
  - id: delete
    type: io.kestra.plugin.nats.kv.Delete
    url: nats://localhost:4222
    username: nats_user
    password: "{{ secret('NATS_PASSWORD') }}"
    bucketName: my_bucket
    keys:
      - key1
      - key2
Properties
Min length1

Bucket name

Rendered bucket identifier that must already exist.

SubTypestring

Keys to delete

List of keys rendered before deletion; each delete creates a tombstone and increments the revision.

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

Plaintext authentication password

Reference (ref) of the pluginDefaults to apply to this task.

Token authentification

Plaintext authentication username

Default0

Number of keys deleted