Skip to content

Asynchronous retries support #81

Closed
@zeldigas

Description

@zeldigas

Hello

Is there any plans to support asynchronous operations? We are using SpringRetry but it's not applicable to this case at all, due to blocking nature. Would be really great to have something like

//service
CompletableFuture<Data> loadUnreliableData()

//retry block
AsyncRetryOperations retry = <magic here>
retry.execute(service::loadUnrealiableData).thenApply(data -> println("At last data is loaded!"))

I found some project targeting this problem: https://github.com/nurkiewicz/async-retry, but would be great to have this in spring retry to avoid working with multiple similiar libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions