Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8367

Faulty "Failed to load mandatory config" error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.2.Final
    • None
    • debezium-server
    • None

      When launching debezium-server via:

      java -jar ./debezium-server-dist/target/debezium-server-dist-3.0.0-SNAPSHOT-runner.jar io.debezium.server.Main
      

      it errors out with the log-line:

      Failed to load mandatory config value 'debezium.sink.type'. Please check you have a correct Debezium server config in /<redacted>/debezium/debezium-server/conf/application.properties or required properties are defined via system or environment variables.
      

      This is broken in two ways:

      • the printed path is wrong. quarkus loads application.properties from the config directory: https://quarkus.io/guides/config-reference
      • the error message is logged via println. LOGGER should be used
        instead (otherwise depending on the logging-setup the message might be
        dropped - due to not being json)

      Both issues were fixed in the following PR:
      https://github.com/debezium/debezium-server/pull/134

              Unassigned Unassigned
              paum@bdisk.eu P. Aum (Inactive)
              P. Aum (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: