OpenFeign / feign

Feign makes writing java http clients easier
Apache License 2.0
9.43k stars 1.92k forks source link

How to enable retry for selected methods in OpenFeign #2133

Open mhewedy opened 1 year ago

mhewedy commented 1 year ago

I would send a PR with this component that enables retry to selected methods...

https://gist.github.com/mhewedy/5a1b68f0a19edf6b4060e74cce3d0015

details https://medium.com/@mohewedy/how-to-enable-retry-for-some-methods-in-openfeign-4e02d05a81fd

what do you think?

foresightyoue commented 11 months ago

Hi, what is the default retry cycle times and timeout limit ,can it be configed with customization settings like retry cycle times and timeout limit as well for this annotation?Be looking forward to more test case examples. thanks.

kdavisk6 commented 5 days ago

Given this is a moderate change to our API structure, I'd like to get more feedback from the community before digging deeper into this request.