Zuul은 Frontend로 부터 모든 요청을 받아 내부 마이크로서비스들에게 요청을 전달하므로 단일 종단점을 갖게하는 API Gateway 와 같은 역할을 수행한다. zuul 필터에 의해 다음과 같은 기능을 수행할 수 있다.

 

- CORS

- 인증

- 보안

- 라우팅

- 프록시

 

 

 

zuul filter

 

Zuul Filter는 크게 4가지 Filter로 나누어 진다.

  1. PRE Filter - 라우팅전에 실행되며 필터  ex) 인증
  2. ROUTING Filter - 요청에 대한 라우팅을 다루는 필터 ex) ribbon을 통한 라우팅
  3. POST Filter - 라우팅 후에 실행되는 필터 ex) resoponse에 대한 처리
  4. ERROR Filter - 에러 발생시 실행되는 필터

 

 

 

 

https://medium.com/netflix-techblog/announcing-zuul-edge-service-in-the-cloud-ab3af5be08ee

 

Announcing Zuul: Edge Service in the Cloud

the latest addition to Netflix’s Open Source Software suite

medium.com

 

https://github.com/Netflix/zuul/wiki/How-We-Use-Zuul-At-Netflix

 

Netflix/zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more. - Netflix/zuul

github.com

 

'Framework > Spring ' 카테고리의 다른 글

Spring AOP (1)  (0) 2019.08.02
Spring Cloud Netflix (2) - hystrix  (0) 2019.02.25
Spring Cloud Netflix (1) - OverView  (0) 2019.02.10
Spring Websocket (Handler, STOMP, Reactive Websocket)  (6) 2019.02.10

+ Recent posts