Skip to content

Timeout for Eureka Registered Services #2695

Open
@aakashkarira

Description

@aakashkarira

Right now, we can configure timeout (connect, response) for individual routes configured in our application.yml, but there is no provision to set timeouts for route configured via Eureka. When we enable the discovery client we can route to other services registered on same eureka server. In our usecase, we want to configure individual timeouts for different services.
Tried overriding route by passing same route_id : ReactiveCompositeDiscoveryClient_<APP_NAME> but doesn't seems to work.

Simple hack we are doing right now is explicitly defining route for services for which we need different timeout and setting order with higher precedence with a downside of having multiple entries for same route (obviously with different precedence)

We were able to configure timeout with ribbon easily in zuul, however in spring cloud gateway & loadbalancer this doesn't seems to be possible.

Is there any plan around this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions