OpenFeign / OpenFeign/feign

Create feign configuration without using @EnableFeignClient

Open
#1,531 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have a java application thats used by another service (B) as a jar. My service is using feign client to call its downstream service. When service B makes a call to my application, the feign client configurations are not getting loaded and it shows null value for feign client variable. Is their any way to load configurations in a custom manner?
image
Thats the application class which is having @EnableFeignClient, but not helping as service B is directly calling service method.

image
image
image

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

Start with the application class using @EnableFeignClient and trace how service B invokes the service method when the application is packaged as a jar. Compare that path with Feign client initialization and determine whether custom configuration is a supported requirement. Done should include a reproducible case and either documented configuration behavior or a clearly scoped fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
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.