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

Dynamically set the url of FeignClient through config #1126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shog808
Copy link

@shog808 shog808 commented Nov 20, 2024

Dynamically set the url of FeignClient:

as known if a service have some nodes, we can set the url of the FeignClient to call the certain node。
now i want set the url of FeignClient dynamically in the class FeignClientsRegistrar.java through the config contents of bootstrap.yml.
as:
appoint
then, call the service message-api will through the url 192.168.2.39:1201

@pivotal-cla
Copy link

@shog808 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@shog808 Thank you for signing the Contributor License Agreement!

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

Successfully merging this pull request may close these issues.

3 participants