From 06d813878e57defd1d399293150a3871c4b4717e Mon Sep 17 00:00:00 2001 From: nathan-smit-1 Date: Thu, 10 Oct 2024 15:09:30 +0200 Subject: [PATCH] DBZ-8313 Added support for application.yaml in Debezium server by adding quarkus-config-yaml to POM --- debezium-server-core/pom.xml | 4 +++ .../distro/config/application.yaml.example | 31 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 debezium-server-dist/src/main/resources/distro/config/application.yaml.example diff --git a/debezium-server-core/pom.xml b/debezium-server-core/pom.xml index e212963b..a7ec86b0 100644 --- a/debezium-server-core/pom.xml +++ b/debezium-server-core/pom.xml @@ -34,6 +34,10 @@ io.quarkus quarkus-kubernetes-config + + io.quarkus + quarkus-config-yaml + io.debezium diff --git a/debezium-server-dist/src/main/resources/distro/config/application.yaml.example b/debezium-server-dist/src/main/resources/distro/config/application.yaml.example new file mode 100644 index 00000000..b39acc8c --- /dev/null +++ b/debezium-server-dist/src/main/resources/distro/config/application.yaml.example @@ -0,0 +1,31 @@ +debezium: + sink: + type: kinesis + kinesis: + region: eu-central-1 + source: + connector: + class: io.debezium.connector.postgresql.PostgresConnector + offset: + storage: + file: + filename: data/offsets.dat + flush: + interval: + ms: 0 + database: + hostname: localhost + port: 5432 + user: postgres + password: postgres + dbname: postgres + topic: + prefix: tutorial + schema: + include: + list: inventory + +quarkus: + log: + console: + json: false