RealtimeTrigger
yaml
type: "io.kestra.plugin.debezium.mongodb.RealtimeTrigger"
Sharded connection
yaml
id: debezium-mongodb
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.mongodb.RealtimeTrigger
snapshotMode: INITIAL
connectionString: mongodb://mongo_user:[email protected]:27017,mongos1.example.com:27017/
Replica set connection
yaml
id: debezium-mongodb
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.mongodb.RealtimeTrigger
snapshotMode: INITIAL
connectionString: mongodb://mongo_user:[email protected]:27017/?replicaSet=rs0
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
NO_DATA
WHEN_NEEDED
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).