Adds zuul property to customize Hystrix ExecutionIsolationStrategy

Add a check to current context as contentLength is already in the context
Get content length from Headers when RibbonCommandContext is built + add tests
Use request content length RibbonRoutingFilter
Add documentation for new zuul.ribbonIsolationStrategy property

fixes gh-339
This commit is contained in:
Stéphane Lagraulet
2016-08-02 13:39:04 +02:00
committed by Spencer Gibb
parent bc7b8367a9
commit 21df6e43a3
19 changed files with 154 additions and 92 deletions

View File

@@ -1060,6 +1060,8 @@ Zuul's rule engine allows rules and filters to be written in essentially any JVM
NOTE: The configuration property `zuul.max.host.connections` has been replaced by two new properties, `zuul.host.maxTotalConnections` and `zuul.host.maxPerRouteConnections` which default to 200 and 20 respectively.
NOTE: Default Hystrix isolation pattern (ExecutionIsolationStrategy) for all routes is SEMAPHORE. `zuul.ribbonIsolationStrategy` can be changed to THREAD if this isolation pattern is preferred.
[[netflix-zuul-reverse-proxy]]
=== Embedded Zuul Reverse Proxy