Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use AsyncCient for non blocking requests? #2374

Open
gfmota opened this issue Apr 5, 2024 · 1 comment
Open

How to use AsyncCient for non blocking requests? #2374

gfmota opened this issue Apr 5, 2024 · 1 comment

Comments

@gfmota
Copy link

gfmota commented Apr 5, 2024

I have a code where I have multiple @FeignClients and now we are having performance problems that could be solved by parallel requests. I saw that since 11.7 the AsyncClient allows to make non blocking requests, but I haven't found any documentation or usage example out on the internet. How exactly would you recommend to migrate FeignClient to AsyncClient? Do I need to use any other library to make it possible?

@gromspys
Copy link
Contributor

gromspys commented Apr 5, 2024

You can find documentation here: https://github.com/OpenFeign/feign?tab=readme-ov-file#async-execution-via-completablefuture
Also there is a library for reactive code: https://github.com/PlaytikaOSS/feign-reactive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants