
Redis RealtimeTrigger
CertifiedRealtime trigger from a Redis list
Redis RealtimeTrigger
Realtime trigger from a Redis list
Continuously polls LPOP one element at a time (every ~100 ms) and starts one Execution per item. Use Trigger for batched polling.
type: io.kestra.plugin.redis.list.RealtimeTriggerExamples
Consume an element from the head of a list in real-time.
id: list_listen
namespace: company.team
tasks:
- id: echo
type: io.kestra.plugin.core.log.Log
message: "Received '{{ trigger.value }}'"
triggers:
- id: watch
type: io.kestra.plugin.redis.RealtimeTrigger
url: redis://localhost:6379/0
key: mytriggerkey
Properties
key *Requiredstring
Redis list key
Rendered key passed to LPOP.
serdeType *Requiredstring
STRINGSTRINGJSONFormat of the data contained in Redis
url *Requiredstring
Redis connection string
allowConcurrent Non-dynamicboolean
falseSpecifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.
stopAfter Non-dynamicarray
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTEDList of execution states after which a trigger should be stopped (a.k.a. disabled).
when string
trueA condition that determines whether the trigger should run.
A Pebble expression evaluated at trigger time. The trigger fires only when the expression evaluates to a truthy value (true, a non-empty string, a non-zero number). Use this to gate trigger execution on dynamic runtime values such as execution labels, flow variables, or environment conditions.
Outputs
value object
The value