Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4862

Kafka client connect to a shutdown node will block for a long time

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.9.0.0, 0.10.2.0
    • None
    • None
    • None

    Description

      Currently in our test env, we found after one of the broker node crash(reboot or os crash), the client maybe still connecting to the crash node to send metadata request or other request, and it need about several minutes to aware the connection is timeout then try another node to connect to send the request. Then the client may still not aware the metadata change after several minutes.

      We don't have a connection timeout for the network client, we should add a connection timeout for the client

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pengwei Pengwei
            pengwei Pengwei
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment