Magesh kumar Nandakumar created KAFKA-12259:
-----------------------------------------------

             Summary: Consolidated Status endpoint return 500 whe config 
provider can't find a config
                 Key: KAFKA-12259
                 URL: https://issues.apache.org/jira/browse/KAFKA-12259
             Project: Kafka
          Issue Type: Bug
            Reporter: Magesh kumar Nandakumar


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to