RealtimeTrigger
yaml
type: "io.kestra.plugin.debezium.mysql.RealtimeTrigger"
Consume a message from a MySQL database via change data capture in real-time.
yaml
id: debezium-mysql
namespace: company.team
tasks:
- id: send_data
type: io.kestra.plugin.core.log.Log
message: "{{ trigger.data }}"
triggers:
- id: realtime
type: io.kestra.plugin.debezium.mysql.RealtimeTrigger
serverId: 123456789
hostname: 127.0.0.1
port: 63306
username: mysql_user
password: mysql_passwd
Default
deleted
Default
ADD_FIELD
Possible Values
ADD_FIELD
DROP
Default
ADD_FIELD
Possible Values
ADD_FIELD
DROP
Default
TABLE
Possible Values
OFF
DATABASE
TABLE
Default
ADD_FIELD
Possible Values
ADD_FIELD
NULL
DROP
Default
INLINE
Possible Values
RAW
INLINE
WRAP
Default
true
Default
metadata
Default
ON_EACH_BATCH
Possible Values
ON_EACH_BATCH
ON_STOP
SubType string
Default
INITIAL
Possible Values
INITIAL
INITIAL_ONLY
WHEN_NEEDED
NEVER
SCHEMA_ONLY
SCHEMA_ONLY_RECOVERY
Default
debezium-state
SubType string
Possible Values
CREATED
RUNNING
PAUSED
RESTARTED
KILLING
SUCCESS
WARNING
FAILED
KILLED
CANCELLED
QUEUED
RETRYING
RETRIED
SKIPPED
List of execution states after which a trigger should be stopped (a.k.a. disabled).