Fetch a Redis item by key and return its value.
Query for a key in a Redis database and return the associated value.
yaml
type: "io.kestra.plugin.redis.string.Get"
Examples
yaml
id: redis_get
namespace: company.team
inputs:
- id: key_name
type: STRING
displayName: Key name to search
tasks:
- id: get
type: io.kestra.plugin.redis.string.Get
url: redis://:redis@localhost:6379/0
key: "{{ inputs.key_name }}"
Properties
key *Requiredstring
The redis key you want to get
serdeType *Requiredstring
Default
STRING
Possible Values
STRING
JSON
Format of the data contained in Redis
url *Requiredstring
The connection string.
failedOnMissing booleanstring
Default
false
If some keys are not defined, failed the task.
Outputs
data object
The fetched data.
key string
The fetched key.