
Redis Get
CertifiedRead JSON value from Redis key
Redis Get
Certified
Read JSON value from Redis key
Runs JSON.GET on the rendered key and path (default $), returns the decoded value, and can fail when the key is missing.
yaml
type: io.kestra.plugin.redis.json.GetExamples
yaml
id: redis_json_get
namespace: company.team
inputs:
- id: key_name
type: STRING
displayName: Key name to search
tasks:
- id: get
type: io.kestra.plugin.redis.json.Get
url: redis://:redis@localhost:6379/0
key: "{{ inputs.key_name }}"
Properties
key *Requiredstring
Redis key to read
Rendered before the call and passed to JSON.GET.
url *Requiredstring
Redis connection string
failedOnMissing booleanstring
Default
falseFail when key is missing
Defaults to false; if true, throws when the lookup returns null.
path string
Default
$JSON path to extract
Defaults to $ (root). Uses RedisJSON path syntax.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
data object
The fetched data
key string
The fetched key