RealtimeTrigger
yaml
type: "io.kestra.plugin.debezium.postgres.RealtimeTrigger"
Consume a message from a PostgreSQL database via change data capture in real-time.
yaml
id: debezium-postgres
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.postgres.RealtimeTrigger
database: postgres
hostname: 127.0.0.1
port: 65432
username: postgres
password: pg_passwd
Default
deleted
Default
ADD_FIELD
Possible Values
ADD_FIELD
DROP
Default
ADD_FIELD
Possible Values
ADD_FIELD
DROP
Default
PGOUTPUT
Possible Values
DECODERBUFS
WAL2JSON
WAL2JSON_RDS
WAL2JSON_STREAMING
WAL2JSON_RDS_STREAMING
PGOUTPUT
Default
kestra_publication
Default
INITIAL
Possible Values
INITIAL
ALWAYS
NEVER
INITIAL_ONLY
Default
debezium-state
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
kestra
Default
TABLE
Possible Values
OFF
DATABASE
TABLE
Default
DISABLE
Possible Values
DISABLE
REQUIRE
VERIFY_CA
VERIFY_FULL
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).