Delete Delete

yaml
type: "io.kestra.plugin.redis.string.Delete"

Delete one or more keys.

Examples

yaml
id: redis_delete
namespace: company.team

tasks:
  - id: delete
    type: io.kestra.plugin.redis.string.Delete
    url: redis://:redis@localhost:6379/0
    keys:
      - keyDelete1
      - keyDelete2

Properties

keys

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

The list of redis keys you want to delete.

url

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

The connection string.

failedOnMissing

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

If some keys are not deleted, failed the task.

Outputs

count

  • Type: integer
  • Required:

Number of key deleted

Definitions

Was this page helpful?