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
11
votes
2 answers

How to choose an API gateway in Kubernetes?

We've used Zuul as API gateway for a while in Microservices scene, recently we decided to move to Kubernetes and choose a more cloud native way. After some investigation and going through the Istio docs, we have some questions about API gateway…
xring
  • 727
  • 2
  • 8
  • 29
11
votes
1 answer

Netflix Zuul server - /routes endpoint not available

In this coding exercise for learning microservices, I've created a Netflix Zuul project for service routing my microservices. Sadly, the /routes endpoint does not seem to be mounted. Everything else seems to be working fine: Defining prefixes and…
Lucas T
  • 3,011
  • 6
  • 29
  • 36
11
votes
2 answers

Facing issue with Microservice using netflix zuul in SpringBoot

APPLICATION FAILED TO START Description: The bean 'counterFactory', defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$ZuulCounterFactoryConfiguration.class], could not be registered. A bean with…
Prudhvi Gudala
  • 113
  • 1
  • 5
11
votes
3 answers

Microservice to Microservice calls, authorization from a queue message

Context: I'm creating a cloud platform to support multiple applications with SSO. I'm using Keycloak for authentication and Netflix Zuul for authorization (API Gateway) thru Keycloak Spring Security Adapter. Each microservice expect an Authorization…
Ignacio Ocampo
  • 2,693
  • 1
  • 20
  • 31
11
votes
1 answer

How do I make Spring Zuul High Available?

I would like to use Zuul as a Proxy for some REST services that I'm using. My question is: since I'm running it as a Spring Boot Application, is there any way to configure it for High Availability? EDIT: do I need to deploy my application inside an…
abierto
  • 1,447
  • 7
  • 29
  • 57
11
votes
2 answers

Why is ZUUL forcing a SEMAPHORE isolation to execute its Hystrix commands?

I noticed Spring-Cloud ZUUL forces the execution isolation to SEMAPHORE instead of the THREAD defaults (as recommended by Netflix). A comment in org.springframework.cloud.netflix.zuul.filters.route.RibbonCommand says: we want to default to…
Bertrand Renuart
  • 1,608
  • 17
  • 24
11
votes
2 answers

Spring Boot + Cloud | Zuul Proxy | 404 Error

I am using Spring Cloud and Zuul proxy as gateway to my RESTful service. Gateway Application (Spring Boot web app running on port 8080) relevant code:- Main class:- @SpringBootApplication @EnableZuulProxy public class WebfrontApplication extends…
10
votes
1 answer

Spring Boot 2.4.2 Gateway API with Zuul

I'm trying to build an Gateway API using the new Spring Boot Starter Parent 2.4.2 but, for some reason, looks like the spring-cloud-starter-netflix-zuul isn't supported anymore and doesn't work with the new version! Is there any substitute?
Alfredo Marin
  • 195
  • 1
  • 1
  • 14
10
votes
1 answer

How to migrate netflix zuul 1 to zuul 2 or spring cloud gateway

Our services are currently using spring cloud netflix zuul as our gateway. Now we have to support websocket so we need to migrate zuul 1 to zuul 2 or spring cloud gateway. I know spring cloud team is no more supporting zuul as they have their own…
DKWoo
  • 327
  • 5
  • 17
10
votes
4 answers

how to implement role-based security in microservices architecture

I have a spring-boot application with 4 microservices, eureka server and a centralized API gateway. All external traffic is coming via my API gateway to my microservices. My API gateway (Zuul) is validating and verifying JWT token. the JWT token is…
10
votes
1 answer

Spring Cloud Netflix vs Kubernetes

I am trying to finally choose between Spring Cloud Netflix, Kubernetes and Swarm for building our microservices environment. They are all very cool and do some choice is very hard. I'll describe a little which kind of problems I want to solve. I…
10
votes
1 answer

How to configure domain specific routes in Zuul

We have 2 domains that point to our single Zuul ELB. Both sites use a lot of the same services so although our production environment will be setup a little different right now we only have the one Zuul ELB. How can we route the same path to…
Randyaa
  • 2,935
  • 4
  • 36
  • 49
10
votes
4 answers

Zuul Proxy CORS header contains multiple values, headers repeated twice - Java Spring Boot CORS filter config

Why would I be getting every CORS header doubled? I am using the Zuul Proxy to have the request to a service proxied through an API gateway. I must have something misconfigured with my spring security filtering order. When I access a route that…
Kent Bull
  • 1,144
  • 3
  • 21
  • 41
10
votes
2 answers

Spring redirect url issue when behind Zuul proxy

I've been trying to get to the bottom of a strange redirection issue for the past 2 days without success. Based on the spring-cloud example projects, I've configured Eureka, Zuul and a basic service that runs behind Zuul. I have the following…
JamieB
  • 1,722
  • 18
  • 21
9
votes
0 answers

How is Spring Cloud Gateway is different from Zuul-2

I want to understand the technical differences between Netflix Zuul2 and Spring Cloud Gateway. Spring Cloud Gateway is async so is Zuul2 Both support Http2 Both support Route filter (functional routes) Both using on Netty
SyntaX
  • 2,090
  • 17
  • 30
1 2
3
80 81