[
https://issues.apache.org/jira/browse/KAFKA-15387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Harris resolved KAFKA-15387.
---------------------------------
Resolution: Fixed
> Deprecate and remove Connect's redundant task configurations retrieval
> endpoint
> -------------------------------------------------------------------------------
>
> Key: KAFKA-15387
> URL: https://issues.apache.org/jira/browse/KAFKA-15387
> Project: Kafka
> Issue Type: Task
> Components: connect
> Reporter: Yash Mayya
> Assignee: Yash Mayya
> Priority: Minor
> Labels: Connect, kafka-connect, kip-required
> Fix For: 4.0.0
>
>
> A new endpoint ({{{}GET /connectors/\{connector}/tasks-config){}}} was added
> to Kafka Connect's REST API to expose task configurations in
> [KIP-661|https://cwiki.apache.org/confluence/display/KAFKA/KIP-661%3A+Expose+task+configurations+in+Connect+REST+API].
> However, the original patch for Kafka Connect's REST API had already added
> an endpoint ({{{}GET /connectors/\{connector}/tasks){}}} to retrieve the list
> of a connector's tasks and their configurations (ref -
> [https://github.com/apache/kafka/pull/378] ,
> https://issues.apache.org/jira/browse/KAFKA-2369) and this was missed in
> KIP-661. We can deprecate the endpoint added by KIP-661 in 3.7 (the next
> minor AK release) and remove it in 4.0 (the next major AK release) since it's
> redundant to have two separate endpoints to expose task configurations.
> Related discussions in
> [https://github.com/apache/kafka/pull/13424#discussion_r1144727886] and
> https://issues.apache.org/jira/browse/KAFKA-15377
--
This message was sent by Atlassian Jira
(v8.20.10#820010)