From Kafka 3.7, the `GET /connectors/{connector}/tasks-config` endpoint will be deprecated and it will be removed in Kafka 4.0 ([KIP-970](https://cwiki.apache.org/confluence/display/KAFKA/KIP-970%3A+Deprecate+and+remove+Connect%27s+redundant+task+configurations+endpoint)). We should use the `GET /connectors/<CONNECTOR>/tasks` endpoint instead to retrieve task configs.