ListPop
yaml
type: "io.kestra.plugin.redis.ListPop"
Remove elements in a list
Examples
yaml
id: "list_pop"
type: "io.kestra.plugin.redis.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.
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.
serdeType
- Type: object
- Dynamic: ❓
- Required: ❌
Outputs
count
- Type: integer
Number of elements retrieved
uri
- Type: string
URI of a kestra internal storage file