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

Kafka Connect ConfigProvider not invoked before validation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: KafkaConnect
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: