
File system RealtimeTrigger
CertifiedTrigger on incoming UDP messages
File system RealtimeTrigger
Trigger on incoming UDP messages
Listens on a UDP port and fires immediately for each received datagram. Default bind 0.0.0.0, buffer 1024 bytes, UTF-8 decoding.
type: io.kestra.plugin.fs.udp.RealtimeTriggerExamples
Trigger a flow whenever a UDP datagram is received.
id: udp_listener
namespace: dev
triggers:
- id: udp_incoming
type: io.kestra.plugin.fs.udp.RealtimeTrigger
host: 0.0.0.0
port: 8091
tasks:
- id: log_message
type: io.kestra.plugin.core.log.Log
message: "📩 Received UDP: {{ trigger.payload }} from {{ trigger.sourceIp }}:{{ trigger.sourcePort }}"
Properties
port *Requiredintegerstring
UDP port to listen on
allowConcurrent Non-dynamicboolean
falseSpecifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.
bufferSize integerstring
1024Buffer size in bytes
encoding string
UTF-8Encoding for incoming data
host string
0.0.0.0Interface to bind
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
payload string
The received UDP payload
sourceIp string
The IP address of the sender
sourcePort integer
The port of the sender
timestamp string
date-timeThe timestamp when the message was received