Delete Delete

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

Deletes a pair from a NATS Key/Value bucket.

Examples

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: nats_passwd
    bucketName: my_bucket
     keys:
      - key1
      - key2

Properties

bucketName

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

The name of the key value bucket.

keys

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required: ✔️

The keys of Key/Value pairs.

url

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • 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

password

  • Type: string
  • Dynamic: ✔️
  • Required:

Plaintext authentication password

username

  • Type: string
  • Dynamic: ✔️
  • Required:

Plaintext authentication username

Outputs

Definitions

Was this page helpful?