Re: AsyncFunction retries

2020-07-09 Thread Arvid Heise
Hi Gadi, FutureUtils is not a public API, so there are no single guarantees that if the method works now, it would work in any coming Flink version. Rather, I'd first check if you can use httpcomponents client 5.0+, then you could simply use the retry handler [1]. If not, then I'd probably copy t

AsyncFunction retries

2020-07-09 Thread Gadi Katsovich
Hi all, I have a job with the following diagram: source -> Flat Map -> Filter -> Filter -> Filter -> async wait operator -> Process -> sink The async operation sends an HTTP post (using Apache HttpAsyncClient). In case the HTTP post times out or fails, I want to retry a few times. Is using Future