Hi friends! I have this flink project using a java...
# troubleshooting
d
Hi friends! I have this flink project using a java API RichAsyncFunction where I override the timeout method. In that overridden method, I do something else if the function takes too long. But I'm getting weird behaviour from this where it is still throwing the default timeout error, rather than running my code:
Copy code
default void timeout(IN input, ResultFuture<OUT> resultFuture) throws Exception {
    resultFuture.completeExceptionally(new TimeoutException("Async function call has timed out."));
}
so i'm just seeing that "Async function call has timed out." and a restart of my job every 10ish minutes (10 minutes being the time limit i have given to that async function), whereas I absolutely do not construct any exception with that string in my own code. Any ideas?
y
Can you share the code overriding timeout and how you're using it?