Questions tagged [netflix-zuul]

Zuul is an edge service that provides dynamic routing, monitoring, resiliency, security, and more.

Zuul is the front door for all requests from devices and web sites to the backend of the Netflix streaming application.

As an edge service application, Zuul is built to enable dynamic routing, monitoring, resiliency and security, and more. It also has the ability to route requests to multiple Amazon Auto Scaling Groups as appropriate.

Zuul uses a range of different types of filters that enables us to quickly and nimbly apply functionality to our edge service. These filters help us perform the following functions:

  • Authentication and Security - identifying authentication requirements for each resource and rejecting requests that do not satisfy them.
  • Insights and Monitoring - tracking meaningful data and statistics at the edge in order to give us an accurate view of production.
  • Dynamic Routing - dynamically routing requests to different backend clusters as needed.
  • Stress Testing - gradually increasing the traffic to a cluster in order to gauge performance.
  • Load Shedding - allocating capacity for each type of request and dropping requests that go over the limit.
  • Static Response handling - building some responses directly at the edge instead of forwarding them to an internal cluster
  • Multiregion Resiliency - routing requests across AWS regions in order to diversify our ELB usage and move our edge closer to our members

References:

1217 questions
0
votes
1 answer

Route Existing Services via ZUUL without adding routing rule

I am trying to route existing services via Spring cloud Netflix Zuul. I have an existing service available at below url, http://localhost:3080/query-service/getquery/1 Out of the box, with zuul I can route to the service as…
0
votes
1 answer

Spring Zuul returning 502

I have a Spring Boot gateway project which is using Zuul to route requests to internal services. These services are discovered using Eureka. This works for most scenarios. However, there are a few long requests which are returning a 502 from the…
0
votes
1 answer

Is it possible use hystrix circuit braker with zuul?

I know that with application.yml I can modify the url that call a microservice but my doubt is how can I implement zuul with hystrix circuit braker?, I have a class that extends ZuulFilter and in my run method I'm trying to execute the…
Alan Gaytan
  • 852
  • 4
  • 14
  • 33
0
votes
1 answer

how to use hystrix to monitoring all microservices

I'm new on microservices and I have seen a tutorial(from udemy) where shows technologies like eureka, feign,spring cloud config,hystrix and zuul, but after make some examples I don't understand very well how hystrix monitor and zuul works, In the…
Alan Gaytan
  • 852
  • 4
  • 14
  • 33
0
votes
2 answers

spring OAuth2 zuul--Access token expired,invalid_token

I have a spring zuul OAuth2 app. authServer-- OAuth2ServerConfiguration: @Configuration public class { @Bean public TokenStore tokenStore() { return new InMemoryTokenStore(); } @Configuration @EnableResourceServer …
0
votes
1 answer

Spring Cloud Zuul + CAS5 causes 404

I have a requirement to run a Zuul gateway (Edge service) serving multiple OAuth2 and CAS secured applications. I have the applications working (Not shown) but have an issue with the third party App that is secured by CAS. The Zull routes are set…
CobraFlow
  • 150
  • 2
  • 9
0
votes
2 answers

Jhipster access control policy not working

I'm trying to disable access to all microservice API in one of my gateways. This is because in this gateway I only want to publish the angular app. I'm trying this, but it don't seems to…
apenlor
  • 87
  • 2
  • 15
0
votes
1 answer

Manipulate request body with Zuul

We're using Zuul as edge server. I want to write a filter that replaces the multipart/form-data from an inbound request with an entity which has the first application/json part of that request. So that for example the request with…
Pepster
  • 1,996
  • 1
  • 24
  • 41
0
votes
1 answer

Spring Zuul as gateway for angular applications

I have 2 angular applications where we are using zuul as a gateway between APP1 and APP2. The requirement is in APP1 based on user role a button gets displayed to open the APP2 View. currently we are importing the app2 index.html using in app1…
swingmicro
  • 367
  • 1
  • 4
  • 19
0
votes
1 answer

Netflix Turbine does not create correct service url if context-path set

We use Eureka discovery and have multiple services running inside docker behind Zuul. Our Turbine service, also behind Zuul, is unable to connect to the service instance if the service has a context-path set. The url path is created in…
CobraFlow
  • 150
  • 2
  • 9
0
votes
1 answer

How to setup Netflix Eureka

is there any tutorial/example which shows me step by step how to setup a eureka server cluster and a eureka zuul cluster which forwards my requests to my microservices? The netflix documentation is sometimes a bit old and overall very bad and the…
0
votes
1 answer

Jhipster missing authentication bearer token

I've setup a microservice architecture with one UAA, one Gateway and one service (single web application) as described here https://jhipster.github.io/using-uaa/ After a user authenticates in this webapp there are several links like this one
DropTheCode
  • 465
  • 1
  • 7
  • 14
0
votes
1 answer

Zuul reverse proxy preserve URL

I have a microservce architecture with several services build using JHipster. Inside one service i have implemented a zuul route filter. public class TestZuulFilter extends ZuulFilter { @Override public String filterType() { return…
DropTheCode
  • 465
  • 1
  • 7
  • 14
0
votes
1 answer

Setting default fallback for Zuul routing failures

We are trying to override the default error page you get when there is a routing failure within the Zuul Edge Server and aren't having any luck. We have routes set up like so: zuul: routes: ui: /** api: /api/** The default SendErrorFilter…
0
votes
1 answer

spring cloud zuul: How can return service httpstatus(or handle zuul status return)?

If use zuul routes for eureka service id,service return some httpStatus like 503 curl 10.1.0.21:5701/usr/users/xxx/a -H "Api-Version: v10" -i Returns: HTTP/1.1 503 Service Unavailable Set-Cookie: Session-Token=9e66fb56-21e2-457a-a00f-f788c5ce820b;…
Dreampie
  • 1,321
  • 4
  • 17
  • 32