Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10415

RestClient does not react to lost connection

    Details

      Description

      While working on FLINK-10403, I noticed that Flink's RestClient does not seem to react to a lost connections in time. When sending a request to the current leader it happened that the leader was killed just after establishing the connection. Then the RestClient did not fail the connection and was stuck in writing a request or retrieving a response from the lost leader. I'm wondering whether we should introduce a ReadTimeoutHandler and WriteTimeoutHandler to handle these problems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                till.rohrmann Till Rohrmann
                Reporter:
                till.rohrmann Till Rohrmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: