 Increment
Increment
Increment a Redis item by key, JSON path and return its value.
Increment for a key in a Redis database and return the associated value.
yaml
type: "io.kestra.plugin.redis.json.Increment"Examples
yaml
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.json.Increment
    url: redis://:redis@localhost:6379/0
    key: "{{ inputs.key_name }}"
    path: "$"
Properties
key *Requiredstring
The redis key you want to increment
path *Requiredstring
JSON path to increment value.
url *Requiredstring
The connection string.
amount numberstring
 Default 
1The amount to increment, default is 1
Outputs
key string
The fetched key.
value number
The incremented value.