Re: Async IO & Retry: how to get error details

2023-01-12 Thread Chesnay Schepler
Retry logic and per-request timeouts should be setup within asyncInvoke() (with all error-handling being done via plain CompletableFuture logic), with timeout() sort of acting as a global timeout after which you want the job to fail (e.g., to guard against mistakes in the asyncInvoke() logic).

Async IO & Retry: how to get error details

2023-01-04 Thread Yoni Gibbs
I'm following the documentation here, getting async IO to retry on failure. What I want is for the async action to be attempted, say, three times, and then give up and continue processing f