You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yash Mayya (Jira)" <ji...@apache.org> on 2022/11/02 14:00:00 UTC

[jira] [Commented] (KAFKA-14353) Make Kafka Connect REST API request timeouts configurable

    [ https://issues.apache.org/jira/browse/KAFKA-14353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627727#comment-17627727 ] 

Yash Mayya commented on KAFKA-14353:
------------------------------------

[KIP-882|https://cwiki.apache.org/confluence/display/KAFKA/KIP-882%3A+Make+Kafka+Connect+REST+API+request+timeouts+configurable]

> Make Kafka Connect REST API request timeouts configurable
> ---------------------------------------------------------
>
>                 Key: KAFKA-14353
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14353
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Yash Mayya
>            Assignee: Yash Mayya
>            Priority: Major
>              Labels: kip-required
>
> Kafka Connect currently defines a default REST API request timeout of [90 seconds|https://github.com/apache/kafka/blob/5e399fe6f3aa65b42b9cdbf1c4c53f6989a570f0/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectResource.java#L30] which isn't configurable. If a REST API request takes longer than this, a {{500 Internal Server Error}}  response is returned with the message "Request timed out". In exceptional scenarios, a longer timeout may be required for operations such as connector config validation / connector creation (which internally does a config validation first). We should allow the request timeout to be configurable via a Kafka Connect worker property.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)