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

Connector configuration property "database.out.server.name" is not relevant for Logminer implementation but cannot be omitted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.4.0.Beta1
    • 1.4.0.Alpha2
    • oracle-connector
    • None
    • False
    • False
    • Undefined
    • Hide

      Reproducing the error is easy. You just have to deploy a connector configuration that makes use of the Logminer implementation while not containing the property "database.out.server.name".

      Show
      Reproducing the error is easy. You just have to deploy a connector configuration that makes use of the Logminer implementation while not containing the property "database.out.server.name".

    Description

      According to the documentation the configuration property database.out.server.name is only relevant for the XStream implementation. So this property should not be mandatory if using the Logminer implementation. Actually it is mandatory in any case and my connector configuration JSON has to contain this line:

         "database.out.server.name" : "dummy",

      Omitting the property completely causes following error:
      2020-12-01 15:38:48,853 ERROR || The 'database.out.server.name' value is invalid: A value is required [io.debezium.connector.common.BaseSourceTask]

      A few lines later a ConnectException with a stacktrace appears in the logfile.

      Attachments

        Activity

          People

            ccranfor@redhat.com Chris Cranford
            tschaper69 Thomas Schaper (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: