We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1、对重试的方法和参数进行持久化,当重试超过多少次失败,进行持久化。等待一段时间,再次进行重试。让方法得以最终执行。 2、此种应用场景是在最终一致性的时候进行,比如当外部服务失效一段时间。这个时候我需要进行回补操作,使得数据最终一致。
The text was updated successfully, but these errors were encountered:
你说的应该可以通过 recover 来实现.
/** * 恢复操作 * 1. 默认不进行任何恢复操作 * @return 恢复操作对应的类 */ Class<? extends Recover> recover() default NoRecover.class;
指定自己的 recover 策略为持久化,然后定时任务补偿。
Sorry, something went wrong.
No branches or pull requests
1、对重试的方法和参数进行持久化,当重试超过多少次失败,进行持久化。等待一段时间,再次进行重试。让方法得以最终执行。
2、此种应用场景是在最终一致性的时候进行,比如当外部服务失效一段时间。这个时候我需要进行回补操作,使得数据最终一致。
The text was updated successfully, but these errors were encountered: