sofastack/sofa-rpc

Support custom exception retry

Open

#1.362 aberto em 10 de set. de 2023

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Java (1.151 forks)batch import
SOFA-8th-Challengegood first issuelatermedium

Métricas do repositório

Stars
 (3.749 stars)
Métricas de merge de PR
 (Mesclagem média 6d 2h) (5 fundiu PRs em 30d)

Description

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.

Guia do colaborador