You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2021/03/22 04:38:01 UTC

[jira] [Commented] (KAFKA-12490) Forwarded requests should use timeout from request when possible

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

Boyang Chen commented on KAFKA-12490:
-------------------------------------

From what I understand, the Create/DeleteRequest timeout is embedded in the message data, which will be wrapped and forwarded to the active controller. And their corresponding timeout values are used in the zk admin operation, not for the request timeout. Are you suggesting that we are preventing the case where the forwarding request timeout is less than the given timeout in the original request, which would cause a premature timeout for the forwarding request? [~hachikuji]

> Forwarded requests should use timeout from request when possible
> ----------------------------------------------------------------
>
>                 Key: KAFKA-12490
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12490
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Boyang Chen
>            Priority: Major
>              Labels: kip-500
>
> Currently forwarded requests timeout according to the broker configuration `request.timeout.ms`. However, some requests, such as CreateTopics and DeleteTopics have their own timeouts that are part of the request object. We should try to use these timeouts when possible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)