sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

Support custom exception retry #1362

Open EvenLjj opened 9 months ago

EvenLjj commented 9 months ago

Background

Due to the issue of idempotence, the SOFARPC retry framework cannot support retries for all exceptions. The current retry framework of SOFARPC only supports client timeout and server busy abnormal retries. It does not meet the requirements for business parties to flexibly use the RPC framework for retry.

What we hope to achieve

We can support the retry of custom exceptions, allowing users to confirm whether the exception can be retried.

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.