Hi, Is there a way to catch the timeouts thrown from async io operator? We use async io API to make some high latency HTTP API calls. Currently when the underlying http connection hangs and fails to timeout in the configured time the async timeout kicks in and throws an exception which causes the job to restart. Is there a way to catch this exception in application code? We are apache flink 1.3.1 ~ Karthik |
Hi Karthik,
Currently there is no way to provide a handler for timed-out requests. So the behavior is exactly what you described. A request fails, an exception is thrown and the job is restarted. A handler would be a nice addition. If you want, you can open a JIRA about it and if would like to work on it, feel free to submit a PR. Thanks, Kostas
|
On Mon, Oct 9, 2017 at 7:12 PM, Kostas Kloudas <[hidden email]> wrote:
|
Perfect! Thanks a lot Karthik.
|
Free forum by Nabble | Edit this page |