
Redis ListPop
CertifiedPop elements from a Redis list
Redis ListPop
Pop elements from a Redis list
Consumes list items with repeated LPOP calls in batches (default batch size 100) until maxRecords or maxDuration is reached, then writes the results to Kestra internal storage.
type: io.kestra.plugin.redis.list.ListPopExamples
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
maxDuration: PT10S
count: 50
Properties
key *Requiredstring
Redis list key
Rendered key passed to LPOP.
serdeType *Requiredstring
STRINGSTRINGJSONSerialization format
Defaults to STRING; controls how items are decoded.
url *Requiredstring
Redis connection string
count integerstring
100Batch size per pop
Defaults to 100.
maxDuration string
Maximum duration to poll
Soft cap evaluated each loop; required when maxRecords is not set.
maxRecords integerstring
Maximum rows to fetch
Soft cap evaluated each loop; required when maxDuration is not set.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
count integer
Number of elements retrieved
uri string
uriURI of a Kestra internal storage file
Metrics
popped.records.count counter
recordsNumber of records retrieved from Redis List.