Cyril-Engels opened a new pull request #10040: URL: https://github.com/apache/kafka/pull/10040
Addressed [KAFKA-12259](https://issues.apache.org/jira/browse/KAFKA-12259). Problem: when calling the connect status endpoint, a 500 error is returned, e.g. ``` { "error_code": 500, "message": "Could not read properties from file /tmp/somefile.properties" } ``` when any of the connector's has an exception from the config provider. This is because the `AbstractHerder` is trying to use resolved config. However, only the `connector.class` is needed from the config to infer if this connector is of source or sink type. The endpoint should still return the status of the connector instead of a 500 error. This change uses raw config from the config backing store to retrieve the connector class to avoid any variable resolution. Unit tests have been updated to reflect this change. when any of the connector's has an exception from the config provider. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org