Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7225

Kafka Connect ConfigProvider not invoked before validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • connect
    • None

    Description

      When trying to register a JDBC connector with externalised secrets (e.g. connection.password) the validation fails and the endpoint returns a 500. I think that the problem is that the config transformer is not being invoked before the validation so trying to exercise the credentials against the database fails. I have checked that publishing the connector configuration directly to the connect-config topic to skip the validation and restarting the server is enough to get the connector working so that confirms that we are just missing to call config transformer before validating the connector. Please let me know if you need further information.

      I'm happy to open a PR to address this issue given that I think that this is easy enough to fix for a new contributor to the project. So please feel free to assign the resolution of the bug to me.

      Attachments

        Activity

          People

            rayokota Robert Yokota
            nachomdo Nacho Munoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: