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
0 answers

How can I get my services to register with a specific port in Eureka?

My Setup I have some services that register with Eureka. This registration info is used by Zuul to route requests to my services. Most of these services run on a port like 9999 or 8080. Each service is on it's own EC2 instance, and I have Nginx…
0
votes
1 answer

spring cloud zuul static routes with circuit breaker

I have configured Zuul with static routes to other micro services. Is there a way to enable CircuitBreaker when calling out to other services?
blindstack
  • 251
  • 3
  • 10
0
votes
1 answer

Netflix Zuul on one port and Hystrix Dashboard on another

I am using Netflix Zuul with Spring Boot for routing/proxy purposes. It listens on a port defined in a application.yml: server: port: ${port:8080} I also wanted to use Hystrix for circuit breaking as well as having the Hystrix dashboard. I…
0
votes
1 answer

TimeoutException in edge using Feign and Hystrix

I'm building a training app with Netflix micro-services APIs. This is my edge, starting on localhost:9999: @EnableHystrix @EnableZuulProxy @EnableEurekaClient @SpringBootApplication public class EdgeApplication { public static void…
Happy
  • 1,815
  • 2
  • 18
  • 33
0
votes
0 answers

spring cloud, zuul proxy and ribbon healthcheck issue without eureka

I have configured my zuul proxy to work with multiple instance of my microservice . The only thing that i have done is adding ribbon.listOfServers keyword to my configuration. It is working fine with round robin policy. But when i shutdown one of…
0
votes
0 answers

Configurable port in $resouce with spring-boot

Prerequisites spring-boot 1.3.1.RELEASE TypeScript 1.8.9 AngularJs 1.5.3 Zuul I have an api gateway which hides a set of microservices. This api gateway uses zuul to map Urls to the different microservices. zuul: routes: service1: path:…
Max
  • 475
  • 1
  • 10
  • 19
0
votes
0 answers

Need help in configuration zuul + ribbon

I need help with configuring Ribbon (load balancing) via Spring Boot with Zuul. Below you can find my configuration. Initially I would share my current architecture and what I want to reach: I have one node with gateway (Spring boot + zuul +…
b3lowster
  • 415
  • 1
  • 6
  • 18
0
votes
2 answers

Spring-Cloud "Pre" ZUUL Filter

We have a ZUUL "Pre" Filter which checks for some condition and returns the default response by itself when a particular API (/abc) is called. When the condition is failed we are returning the response from the API. The API is available in a service…
0
votes
1 answer

Proxy Kibana through Zuul

I'm actually working on elsasticsearch technologies and I want to use kibana behind a proxy. My choice went to zuul as it's easy to use and allow me to do dynamic routing. But I'm facing an issue. All the page seemed load correctly, but I can't…
Maximilien Belinga
  • 3,076
  • 2
  • 25
  • 39
0
votes
0 answers

Spring MVC behind reverse proxy (Zuul)

I'm building an application is based on the Microservices architecture. I have a microservice that uses Spring MVC and a reverse proxy is provided by Zuul. Without Zuul my microservice is accessed by http://localhost/ and with proxy by…
Oleg P.
  • 118
  • 1
  • 7
0
votes
1 answer

Dynamic Proxying with Zuul

I am trying to proxying with Zuul based on some cookies information. I presume I will have to write some filters that would achieve the filtering dynamically. Presumably, something as describe in this thread: The first problem is that I am not able…
Klaus
  • 2,328
  • 5
  • 41
  • 62
0
votes
1 answer

Getting connections stats for circuits on Spring cloud zuul

I am running a few micro service instances that are functioning as edge routers and have the @EnableZuulProxy annotation. I have written a number of filters and these control the flow of requests into the system. What I would like to do is get the…
EvilJinious1
  • 2,773
  • 6
  • 43
  • 63
0
votes
0 answers

Rewrite url on Spring Zuul server

I have a Zuul server that's redirecting an uri to an external site using proxy server…
Carlos Alberto
  • 7,761
  • 13
  • 52
  • 72
0
votes
1 answer

First time hitting REST endpoint through ZUUL returns 403 but subsequent calls work

I'm literally running out of hair to tear out. I've tried every flavour of config and still no luck. I hit Zuul to access a microservice REST endpoint. The first time I hit it, i'm bounced with a 403, after that all is good and I can hit it to…
0
votes
0 answers

Zuul ignoring the Query parameter that are empty

Below is how my ZUUL configuration looks like. zuul: routes: UserCards-V1: path: /user/v1/accountholders/*/cards/** service-id: usercards-v1 strip-prefix: false UserTransactions-V1_1: path:…
Grinish Nepal
  • 3,037
  • 3
  • 30
  • 49