Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Saga state language support "Retry" a service when error occurred #1899

Closed
long187 opened this issue Nov 14, 2019 · 0 comments
Closed

Comments

@long187
Copy link
Contributor

long187 commented Nov 14, 2019

Why you need it?

When an error occurred while invoking a service, such as network timeout, we need retry the service.

How it could be?

We can configure a "Retry" property in saga state launguage:

           "Retry": [
                {
                    "Exceptions": ["io.seata.saga.engine.mock.DemoException"],
                    "IntervalSeconds": 2,
                    "MaxAttempts": 3,
                    "BackoffRate": 1.5
                }
            ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant