ListPop ListPop

yaml
type: "io.kestra.plugin.redis.list.ListPop"

Removes and returns an element from the head of a list.

Examples

yaml
id: redis_list_pop
namespace: company.team

tasks:
  - id: list_pop
    type: io.kestra.plugin.redis.list.ListPop
    url: redis://:redis@localhost:6379/0
    key: mypopkeyjson
    serdeType: JSON
    maxRecords: 1

Properties

key

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

The redis key for the list.

serdeType

  • Type: object
  • Dynamic:
  • Required: ✔️

url

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

The connection string.

count

  • Type: integer
  • Dynamic:
  • Required:
  • Default: 100

Number of elements that should be pop at once

maxDuration

  • Type: string
  • Dynamic:
  • Required:
  • Format: duration

The max duration waiting for new rows.

It's not an hard limit and is evaluated every second.

maxRecords

  • Type: integer
  • Dynamic:
  • Required:

The max number of rows to fetch before stopping.

It's not an hard limit and is evaluated every second.

Outputs

count

  • Type: integer
  • Required:

Number of elements retrieved.

uri

  • Type: string
  • Required:
  • Format: uri

URI of a Kestra internal storage file.

Definitions

Was this page helpful?