
Redis Delete
CertifiedDelete Redis JSON keys or paths
Redis Delete
Certified
Delete Redis JSON keys or paths
Runs JSON.DEL for each rendered key and JSON path (defaults to $ when paths are empty), sums deleted elements, and can fail when nothing is removed.
yaml
type: io.kestra.plugin.redis.json.DeleteExamples
yaml
id: redis_json_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.redis.json.Delete
url: redis://:redis@localhost:6379/0
failedOnMissing: true
keys:
keyDelete1:
- path1
- path2
Properties
keys *Requiredobject
Keys and JSON paths to delete
Map of key → paths; each path list defaults to $ to drop the whole value.
url *Requiredstring
Redis connection string
failedOnMissing booleanstring
Default
falseFail when deletions are missing
Defaults to false; when true, throws if fewer items are deleted than requested.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
count integer
Deleted count
Total number of deleted elements across all keys/paths.
Metrics
deleted.records.count counter
Unit
recordsNumber of records deleted from Redis.