-
Notifications
You must be signed in to change notification settings - Fork 109
Issue - Spring Cloud Data Flow - cdc-debezium UI config issue #626
Description
I am trying to use cdc-debezium as a source connector, trying to pass the config property within cdc property in the below format
connector.class: io.debezium.connector.postgresql.PostgresConnector database.hostname= localhost database.port= 5432 database.user= postgres database.password= abcdefghijkl config.database.dbname= dest config.database.history.kafka.bootstrap.servers: kafka=9092 config.database.history.kafka.topic=schema-topic
But one after another error is coming -
sometime error is - `Description:
Failed to bind properties under 'cdc.config' to java.util.Map<java.lang.String, java.lang.String>:
Property: cdc.config
Value: database.username=admin
Origin: System Environment Property "SPRING_APPLICATION_JSON"
Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.lang.String, java.lang.String>]`
or if i change the format to json its not able to update the config then I am getting error
org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping in 'reader', line 13, column 5: "management.endpoints.web.exposu ... ^ expected <block end>, but found '<scalar>' in 'reader', line 27, column 39: ... dc.config": "database.username:"admin""
I don't find any complete documentation or UI hint how to pass the config in the right format from the UI