OpenFeign / OpenFeign/feign

How to use AsyncCient for non blocking requests?

Open
#2,374 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question waiting for feedback
Dominant language
Java
Stars
9.8k
Forks
1.9k
Avg merge
1d 2h
Merged PRs (30d)
41

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names AsyncClient and FeignClient but does not mention repository files or tests. Start by locating the AsyncClient and FeignClient documentation or entry points, then define the recommended migration path, required libraries, and a usage example; done means newcomers can follow the documented non-blocking setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.