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

Configure spring cloud contract and Zuul proxy in the same project

I have a problem with integrating spring-cloud-contract with my service on the consumer side. In my service I use already feign (to call other services) and zuul (for routing) from spring-cloud. The problem happens when I try to run a test annotated…
Karol K
  • 3
  • 4
0
votes
2 answers

Routing to different container in docker using zuul not working

I have 2 microservices (spring boot app) running in different docker containers and configured with zuul api gateway. Routing to other container is not working. Container 1 is running in 8030 port & container 2 is running on port 8030. Below is the…
sham raj
  • 11
  • 5
0
votes
1 answer

spring security admin gateway and angularjs exception

I am using gateway based authentication in spring security. A user is authenticated from the database. Through zuul, the authenticated user is directed to the UI microservice. A successfully authenticates user at the admin gateway service when…
0
votes
1 answer

Zuul Routing when using eureka services

I have a reasonably simple Spring Cloud Netflix setup. We are using Zuul as a reverse proxy and Eureka for service discovery and registry. we have legacy services we are slowly choking out. We have many simple services that have their endpoints…
0
votes
1 answer

Handling same context path for multiple micro service in zuul configuration

We are building platform on top of Spring netflix OSS to host multiple use-cases micro service api. One of the use case have 2 API (2 code base building 2 jars) they want it to be hosted on 2 different service Id but both are having same context url…
Gunjan Sharma
  • 15
  • 1
  • 7
0
votes
0 answers

rest request not processed by zuul

The zuul service isn't even called for the routing, direct requests work. zuul : localhost:8900 service : localhost:38000 (the routing works when i use a url for request but not if I use the following method from the resttemplate: public
Ti mur
  • 85
  • 1
  • 10
0
votes
1 answer

Get AccessToken from spring cloud zuul API Gateway

We are using zuul as API gateway in spring cloud. Now we want to extract access token from zuul for further implementation.Please provide suggestion how we want to implement. Thank you
0
votes
1 answer

How to disable CORS within a Zuul / Spring Boot microservice setup? (route CORS OPTIONS preflights)

In our setup Zuul should act as router for our Microservices. This means that also CORS OPTIONS request should be routed to our Microservices (noone else knows about the correct CORS settings...). How to setup Spring-Boot/Spring-MVC/Zuul that it…
d0x
  • 11,040
  • 17
  • 69
  • 104
0
votes
1 answer

How to strip context path in nginx, zuul and oauth combined

I have Nginx proxy with following configuration: upstream gateway_server { ip_hash; # sticky session on as there will be more than one destination server app.server:8080; } server { listen 0.0.0.0:80; server_name …
0
votes
1 answer

: (colons in parameter names going through zuul. Maybe spring related

When passing in a url with a parameter called ?name:content=john I get the following error (see stacktrace below). So narrowed it down to org.springframework.web.util.HierarchicalUriComponents when it calls expandQueryParams method. It then calls…
Rod
  • 53
  • 5
0
votes
1 answer

Format of REST API to request a service in Netflix zuul

I am trying to understand Zuul (https://github.com/Netflix/zuul) and would like to run a sample code to test it with Eureka. Using Eureka nodejs client (https://www.npmjs.com/package/eureka-js-client) , I have registered a service on Eureka. I am…
user1692342
  • 5,007
  • 11
  • 69
  • 128
0
votes
1 answer

zuul : Bearer authentication not accepted

I have an application trying to call a RESTApi under a Zuul proxy. The application have a valid jwt token given by the OAuth2 server. I had the token in a bearer authorization in the header but I have an 401 ("Full authentication is required to…
BokC
  • 333
  • 5
  • 19
0
votes
1 answer

Dynamically register hystrix commands without javanica annotations in spring boot

We have developed a software proxy based on spring boot and zuul, that is meant to govern services within our integration layer. We do not own the systems consuming the various services, nor do we own the actual services themselves. The services are…
0
votes
1 answer

microservice architectural choice using api gateway with web portal application

I'm currently working on a microservices architecture. Thoses microservices will be integrated in web-portal which will be the entry point. I'd need to use an api gateway(edge-server) but i'm wondering if it's better to create a separate…
IKane
  • 275
  • 2
  • 8
  • 17
0
votes
1 answer

Zuul and webapp architecture

I've a question about the global architecture of multiple webapplications and zuul. With a classic webapp my pages talk to the webserver that hosts my webapp. With zuul do my pages need to directly talk to my zuul server.... and then be redirected…