 ListPop
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 
STRINGJSONFormat of the data contained in Redis.
url *Requiredstring
The connection string.
count integerstring
 Default 
100Number of elements that should pop at once
maxDuration string
 Format 
durationThe 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 
uriURI of a Kestra internal storage file.
