diff --git a/build.gradle b/build.gradle index fe846af..70d76fd 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,10 @@ subprojects { compileOnly group: "io.kestra", name: "core", version: kestraVersion // Logs - compileOnly 'org.slf4j:slf4j-api' + constraints { + // Forced dependencies + api("org.slf4j:slf4j-api:2.0.16") + } compileOnly 'ch.qos.logback:logback-classic' } } diff --git a/plugin-debezium-mongodb/src/main/java/io/kestra/plugin/debezium/mongodb/Trigger.java b/plugin-debezium-mongodb/src/main/java/io/kestra/plugin/debezium/mongodb/Trigger.java index 2bb9bf6..77655d3 100644 --- a/plugin-debezium-mongodb/src/main/java/io/kestra/plugin/debezium/mongodb/Trigger.java +++ b/plugin-debezium-mongodb/src/main/java/io/kestra/plugin/debezium/mongodb/Trigger.java @@ -101,8 +101,10 @@ public class Trigger extends AbstractTrigger implements PollingTriggerInterface, @NotNull private String connectionString; + @Builder.Default protected String hostname = ""; + @Builder.Default protected String port = ""; protected String username;