
Redis ListPush
CertifiedPush values to a Redis list
Redis ListPush
Push values to a Redis list
LPUSH rendered values to the head of the list; accepts literal lists or a Kestra storage URI, serializing with the selected serde (STRING by default).
type: io.kestra.plugin.redis.list.ListPushExamples
id: redis_list_push
namespace: company.team
tasks:
- id: list_push
type: io.kestra.plugin.redis.list.ListPush
url: redis://:redis@localhost:6379/0
key: mykey
from:
- value1
- value2
Properties
from *Requiredstringarray
Values to push
String or list; a string may be parsed as JSON array or treated as a storage URI.
key *Requiredstring
Redis list key
Rendered before pushing.
serdeType *Requiredstring
STRINGSTRINGJSONSerialization format
Defaults to STRING; controls how values are encoded before LPUSH.
url *Requiredstring
Redis connection string
batchSize integerstring
500Batch size
Number of values sent per variadic LPUSH command. Defaults to 500. Lower it for large values, raise it to cut round-trips further on high-latency links.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
count integer
Count
Number of values inserted.
Metrics
inserted.records.count counter
recordsNumber of records pushed to a Redis list.