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

Upgrading to Spring cloud 1.0.1 zuul url encoded parameters not working

We use zuul as an gateway to dispatch incoming requests to services. When we upgraded from 1.0.0, we noticed two issues, one of which we got a workaround to. The second issue is that in some of the incoming have encoded uris to deal with special…
EvilJinious1
  • 2,773
  • 6
  • 43
  • 63
0
votes
0 answers

Spring Boot+ Oauth 2.0 +Zuul Proxy for third party access

I am trying to create RestAPI using Spring boot + Oauth 2.0 and want to access the same from another web application. My Spring application is deployed at localhost:8585/oauth/token. If i use chrome REST extenstion for calling it works perfectly…
0
votes
2 answers

Could Zuul-Server SNAPSHOT be broken?

I am build a project that was working before using Spring Cloud snapshot build. Everything seems to work except Zuul Server. I'm getting the following exception: Caused by: javax.validation.ValidationException: Unable to instantiate Configuration. …
Klaus
  • 2,328
  • 5
  • 41
  • 62
-1
votes
1 answer

Can't access spring boot admin behind zuul gateway

My spring boot admin is not accessible through zuul gateway, he shows me Cors origin problem (screenshot) But it works fine from his own host ! Spring boot admin version 2.4.1 Spring boot version 2.4. Github project for more info :…
-1
votes
1 answer

Getting zuul forwarding error.Connected all services with eureka

Zuul->application.properties spring.application.name=zuul-api-gateway server.port=6060 eureka.client.service-url.defaultZone =…
-1
votes
1 answer

Spring Boot Zuul API Gateway returning a 404 response

I am attempting to setup Spring Boot Zuul 2.2 so that I can send requests to a service that is registered to Eureka and thus known to Zuul. I can access the Swagger UI of the service via Zuul, but when I attempt to send a request to the service I…
crmepham
  • 4,676
  • 19
  • 80
  • 155
-1
votes
1 answer

How to simplify the keycloak rest API servie

As of now I have completed the keycloak configurations and setup. Authorization also done . But I'm using using different rest services of keycloak (token_endpoint , Introspection_Endpoint ...). Is there any special keyclaok rest API or any other…
Karthi Ece
  • 119
  • 1
  • 1
  • 8
-1
votes
1 answer

How to get Security Principal values in downstream server of zuul proxy spring boot, Sprng security, spring-security-oauth2

I create the microservices by using spring boot, Spring security, Spring oauth2, Eureka server and Zuul Proxy. I created three project given below. register-Eureka: for Registering my services in the Eureka server. gatway-Zuul: I implemented zuul…
-1
votes
1 answer

Microservices are getting killed automatically

I am using Eureka Server for microservices, I have deployed microservices on VPS. My server is having Centos 7. I am deploying each microservice on different screen but after some time microservice started getting killed automatically. When I check…
-1
votes
1 answer

Zuul CORS filter doesn't work

So, basically, the front-end uses reactJS, the back-end Spring Boot (microservices, with zuul acting as the gateway), and of course they can't do anything without CORS stuff. We used this piece of code @Bean public CorsFilter corsFilter() { …
-1
votes
1 answer

hosting zipkin inside proxy/zuul-gateway

zipkin is a tool for tracing request as well as tracking the span of time a service took to process the request useful in multi-service projects it doesnt require much effort for setting up u just have to add zipkin dependency in your services and…
RITESH GUPTA
  • 93
  • 2
  • 11
-1
votes
3 answers

Forwarding error with Spring Cloud Zuul

I'm using Eureka as a registry server where Zuul is being registered registered additionally to my application module cmpnyhbaseserialser. However, when I make a POST request I get the following error: Forwarding…
gongzh
  • 1
  • 1
  • 1
-1
votes
1 answer

how to add content-length to response headers when i use spring cloud to build my micro service

I have used spring cloud to build a multiple microservice,and i use a API-Gateway implemented using Spring Cloud Netfix's Zuul Server to route the requests to our micro services ,the gateway config like this: application.yml: server: …
BugKiller
  • 94
  • 1
  • 10
-1
votes
1 answer

Whitelabel Error Page This application has no explicit mapping for /error time out

I am completely new to zuul, but I am facing a challenge I can't seem to overcome due to some changes we made in the configuration. Zuul is being used simply to re-write some urls in this case, nothing more. It works fine in all sorts of other…
ADD
  • 1
  • 1
  • 2
-2
votes
1 answer

How to retrieve value of parameters annotated by @RequestBody from a HttpServeletRequest object?

in a springcloud project if a backend microservice has the following: @RequestMapping("/test") pubilc void test(@RequestBody MyPram myParam){ ... } how can I retrive the "myParam" value in a zuul filter? in other words, since I can have the…
wen
  • 17
  • 2
1 2 3
80
81