aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.18k stars 843 forks source link

Resiliency Algorithms #1922

Closed mohanr closed 3 years ago

mohanr commented 4 years ago

Pluggable algorithms using https://github.com/resilience4j/resilience4j

Describe the Feature

There is a backoff strategy built into the JMS library. More algorithms for resiliency from a library like https://github.com/resilience4j/resilience4j are needed.

Is your Feature Request related to a problem?

Proposed Solution

Describe alternatives you've considered

Additional Context

There may be some support for Resiliency4J that I am not aware of and support for such additional algorithms may be needed for interactions with many services.

Your Environment

debora-ito commented 4 years ago

Hi @mohanr thank you for reaching out. The SDK for Java 1.11.x still supports Java 7 so this feature will be more suitable for SDK for Java 2.x, which is built on top of Java 8.

Do you want me to transfer this feature request to the Java SDK 2.x repository? Would it help in your use case?

mohanr commented 4 years ago

Yes. Are there some guidelines for adoption of such features and contribution ?

debora-ito commented 4 years ago

Transferred the issue to AWS SDK for Java 2.x repository.

Take a look at the CONTRIBUTING page. And describe your use case with a little more detail, giving examples if possible.

millems commented 3 years ago

Do you have an example of how you would expect this to be implemented in the SDK? We have resiliency built into the SDK, and it can be modified using the retry policy. You can use resilience4j if you want to build your own retry policy, for whatever reason.