
Increment
Increment a Redis item by key and return its value.
Increment a Redis item by key and return its value.
Increment a Redis item by key and return its value.
Increment for a key in a Redis database and return the associated value.
type: "io.kestra.plugin.redis.string.Increment"Examples
id: redis_increment
namespace: company.team
inputs:
- id: key_name
type: STRING
displayName: Key name to increment
tasks:
- id: increment
type: io.kestra.plugin.redis.string.Increment
url: redis://:redis@localhost:6379/0
key: "{{ inputs.key_name }}"
Properties
key*Requiredstring
The redis key you want to increment
url*Requiredstring
The connection string.
amountnumberstring
The amount to increment, default is 1
optionsNon-dynamic
Options for the increment operation.
Configure settings for the key.
io.kestra.plugin.redis.string.Increment-Options
date-timeSet the expiration date.
Absolute timestamp at which the key will expire.
durationSet the expiration duration.
Duration after which the key will automatically expire.
Outputs
keystring
The fetched key.
valuenumber
The incremented value.