You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Yash Mayya (Jira)" <ji...@apache.org> on 2022/11/02 13:52:00 UTC
[jira] [Created] (KAFKA-14353) Make Kafka Connect REST request timeouts configurable
Yash Mayya created KAFKA-14353:
----------------------------------
Summary: Make Kafka Connect REST 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
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)