Skip to content

[Enhancement] Use AbstractRetryer to unify GrpcRetryer, HttpRetryer and EventMeshTcpRetryer #4060

@pandaapo

Description

@pandaapo

Search before asking

  • I had searched in the issues and found no similar issues.

Enhancement Request

GrpcRetryer, HttpRetryer and EventMeshTcpRetryer all have these method pushRetry(), init(), shutdown() and start(). Althougth parameter type in pushRetry() is different. But the types here are in inheritance relationship.

And there are similar logic in size() and getRetrys().

Describe the solution you'd like

Add an parent class for GrpcRetryer, HttpRetryer and EventMeshTcpRetryer.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions