ListPop
Remove and return an element from the head of a list in Redis.
yaml
type: "io.kestra.plugin.redis.list.ListPop"
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 *Requiredstring
The Redis key for the list
serdeType *Requiredstring
Default
STRING
Possible Values
STRING
JSON
Format of the data contained in Redis.
url *Requiredstring
The connection string.
count integerstring
Default
100
Number of elements that should pop at once
maxDuration string
Format
duration
The max duration waiting for new rows
It's not a hard limit and is evaluated every second.
maxRecords integerstring
The max number of rows to fetch before stopping
It's not a hard limit and is evaluated every second.
Outputs
count integer
Number of elements retrieved.
uri string
Format
uri
URI of a Kestra internal storage file.