sofastack/sofa-rpc

Support custom exception retry

Open

#1362 aperta il 10 set 2023

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Java (1151 fork)batch import
SOFA-8th-Challengegood first issuelatermedium

Metriche repository

Star
 (3749 star)
Metriche merge PR
 (Merge medio 6g 2h) (5 PR mergiate in 30 g)

Descrizione

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.

Guida contributor