[Enhancement] Use AbstractRetryer to unify GrpcRetryer, HttpRetryer and EventMeshTcpRetryer #4060
Closed
2 tasks done
Labels
enhancement
New feature or request
Search before asking
Enhancement Request
GrpcRetryer
,HttpRetryer
andEventMeshTcpRetryer
all have these methodpushRetry()
,init()
,shutdown()
andstart()
. Althougth parameter type inpushRetry()
is different. But the types here are in inheritance relationship.And there are similar logic in
size()
andgetRetrys()
.Describe the solution you'd like
Add an parent class for
GrpcRetryer
,HttpRetryer
andEventMeshTcpRetryer
.Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: