You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/03/10 01:41:08 UTC

[GitHub] [kafka] hachikuji commented on pull request #10281: KAFKA-12432: Fix AdminClient timeout handling in the presence of bad brokers

hachikuji commented on pull request #10281:
URL: https://github.com/apache/kafka/pull/10281#issuecomment-794717132


   > Previously, we relied solely on the broker to enforce
   request.timeout.ms. If the broker failed to enforce this timeout, the
   admin client would hang until the call's API timeout hit, which would
   return an error to the caller.
   
   I don't think this is accurate. The `NetworkClient` enforces the request timeout, which is passed through the `ClientRequest` object. If the response is not received before the timeout expires, then `NetworkClient` will disconnect.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org