ListPush ListPush

yaml
type: "io.kestra.plugin.redis.ListPush"

Prepend one or multiple values to a list.

Examples

yaml
id: "list_push"
type: "io.kestra.plugin.redis.ListPush"
url: redis://:redis@localhost:6379/0
key: mykey
from:
   - value1
   - value2

Properties

from

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

The list of values to push at the head of the list.

key

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

The redis key for the list.

url

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

The connection string.

serdeType

  • Type: string
  • Dynamic:
  • Required:
  • Default: STRING
  • Possible Values:
    • STRING
    • JSON

Serializer / Deserializer use for the value

Outputs

count

  • Type: integer
  • Dynamic:
  • Required:

Count

The number of values inserted.