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"
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

The redis key you want to get

Default STRING
Possible Values
STRINGJSON

Format of the data contained in Redis

The connection string.

Default false

If some keys are not defined, failed the task.

The fetched data.

The fetched key.