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

Consolidated Status endpoint returns 500 when config provider can't find a config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.1, 2.6.2
    • None
    • None

    Description

      The consolidated connectors endpoint connectors?expand=status return a `500` error when any of the connector's has an exception from the config provider.  https://github.com/apache/kafka/blob/e9edf104866822d9e6c3b637ffbf338767b5bf27/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/AbstractHerder.java#L287

       The status endpoint doesn't need the complete list of configs and just requires the Connector Class to infer if it's a `Source` or a `Sink`. The failed connector status should be returned as `Failed` instead of the endpoint returning a 500.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mageshn Magesh kumar Nandakumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: