Hi William,

the AsyncOperator does not have such a setting. It is "merely" a wrapper
around an asynchronous call, which provides integration with Flink's state
& time management.

I think, the way to go would be to do the exponential back-off in the user
code and set the timeout of the AsyncOperator to the sum of the timeouts in
the user code (e.g. 2s + 4s + 8s + 16s).

Cheers,

Konstantin


On Thu, Mar 7, 2019 at 5:20 PM William Saar <will...@saar.se> wrote:

> Hi,
> Is there a way to specify an exponential backoff strategy for when async
> function calls fail?
>
> I have an async function that does web requests to a rate-limited API. Can
> you handle that with settings on the async function call?
>
> Thanks,
> William
>
>
>

-- 

Konstantin Knauf | Solutions Architect

+49 160 91394525

<https://www.ververica.com/>

Follow us @VervericaData

--

Join Flink Forward <https://flink-forward.org/> - The Apache Flink
Conference

Stream Processing | Event Driven | Real Time

--

Data Artisans GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--
Data Artisans GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Dr. Kostas Tzoumas, Dr. Stephan Ewen

Reply via email to