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

Kafka Connect does not log connector configuration errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.10.2.1, 0.11.0.0
    • None
    • None

    Description

      Currently, on connector configuration error, Kafka Connect (both distributed and stand alone) logs:
      org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid (use the endpoint `/

      {connectorType}

      /config/validate` to get a full list of errors)

      This is annoying because:
      1. If I'm using stand-alone mode, I may have configured my connector via configuration file and I don't want to know about the REST API at all.
      2. The output of validate is rather annoying

      What I'd like to see in the output is:
      1. number of errors in my configuration
      2. at least one error, preferably all of them

      Attachments

        Issue Links

          Activity

            People

              original-brownbear Armin Braun
              gwenshap Gwen Shapira
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: