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

Multiple Feign Clients for one service with different timeouts #673

Open
vkondr opened this issue May 9, 2024 · 0 comments
Open

Multiple Feign Clients for one service with different timeouts #673

vkondr opened this issue May 9, 2024 · 0 comments

Comments

@vkondr
Copy link

vkondr commented May 9, 2024

Hi, I have a few Reactive Feign clients for one eureka application, I want to configure a different timeouts for this clients. Currently it seems to be impossible because timeouts are configured per eureka service name. For the Ribbon it was possible to override a service name https://github.com/kptfh/feign-reactive-sample/blob/master/feign/src/main/resources/application.yml#L23C6-L23C40 but it does not work for a spring cloud load balancer spring-cloud/spring-cloud-commons#951

In the regular Feign client it is possible to configure timeouts per contextId, I see that a Reactive Feign supports a qualifiers, It would be nice to add a timeout configuration per qualifier:
reactive.feign.client.config.MyReactiveclientRegular.options.readTimeoutMillis=100
reactive.feign.client.config.MyReactiveclientBatch.options.readTimeoutMillis=2000

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

1 participant