line / armeria

Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
https://armeria.dev
Apache License 2.0
4.83k stars 922 forks source link

Add builder for `Backoff` #5483

Open ikhoon opened 9 months ago

ikhoon commented 9 months ago

Currently, Backoff can be created from a backoff spec or factory methods. Builders for various backoff implementations to fluently build them should be useful. Related work: https://github.com/googleapis/google-http-java-client/blob/9c47ab68b41353b2331568f5b3ef5610ea4b9feb/google-http-client/src/main/java/com/google/api/client/util/ExponentialBackOff.java#L266

kth496 commented 9 months ago

Hi @ikhoon, Can I take this on?

ikhoon commented 9 months ago

For sure. ❤️

rakeshcj commented 3 months ago

Hi @ikhoon is the issue still open ?

ikhoon commented 2 months ago

I have to ask first if @kth496 wants to finish this work.

kth496 commented 2 months ago

@rakeshcj @ikhoon I apologize for the inconvenience. I am working on the issue and have submitted a new commits on PR.