Comments (3)
+1
from zuul.
If you're using Zuul with Ribbon, then these timeouts can be configured per ribbon client. ie. you can configure them differently for each uniquely named ribbon client.
eg. if I'm setting my routeVIP to "myorigin1" (RequestContext.currentContext.routeVIP=myorigin1
), then I can set the timeouts with these properties:
myorigin1.ribbon.ConnectTimeout=3000
myorigin1.ribbon.ReadTimeout=3000
See https://github.com/Netflix/ribbon/wiki/Getting-Started
If you're not using Ribbon (ie. your using the ZuulHostRequest route filter) then it's not possible to do this. But feel free to submit a PR to add this functionality to that filter.
from zuul.
If you're using Zuul with Ribbon, then these timeouts can be configured per ribbon client. ie. you can configure them differently for each uniquely named ribbon client.
eg. if I'm setting my routeVIP to "myorigin1" (
RequestContext.currentContext.routeVIP=myorigin1
), then I can set the timeouts with these properties:myorigin1.ribbon.ConnectTimeout=3000 myorigin1.ribbon.ReadTimeout=3000
See https://github.com/Netflix/ribbon/wiki/Getting-Started
If you're not using Ribbon (ie. your using the ZuulHostRequest route filter) then it's not possible to do this. But feel free to submit a PR to add this functionality to that filter.
hello,have you added this functionality?
from zuul.
Related Issues (20)
- How to use filters with filtertType βstaticβ and others
- Call external service from Inbound filter
- Unknown NullPointerException caused connection termination
- Sending HTTPS requests with Zuul 2 HOT 1
- The maximum number of ribbon connections is limited
- How to publish metrics emitted by Ribbon to prometheus endpoint?
- NullPointerException for some requests after 2.1.7 -> 2.1.9 upgrade
- 504 FAILURE_ORIGIN_RESET_CONNECTION with high load
- Does Zuul2 Support Injection of an Additional Proxy before Message Reaches the Origin?
- Broken link in Readme HOT 3
- How to Upgrade Zuul 1.3.1 to zuul 2.1.5 in spring boot application HOT 1
- What is equivalent class for zuul 1.x RequestContext class in zuul 2.x?
- Is Zuul being maintained and enhanced so that it makes sense to build an API routing solution around it? HOT 2
- How can we make Zuul view of data/dynamic properties from archaius and server list consistant ?
- about zuul 1.x simplae webapp
- Recommended strategy for incorporating changes since last release v2.3.0 in April 2021 HOT 3
- Response filter getting blocked for sometime intermittently
- Zuul egress-gateway throws socket hang ups intermittently
- connectionpool_inPool gauge not correcly reflecting connections in pool as it never decreases
- How does zuul2 deal with the situation where the upstream connection is directly disconnected? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zuul.