Deep Dive! Zuul
[ Zuul 개요 ] RequestContext holds Request, response, state information and data for ZuulFilters to access and share. The requestContext lives for the duration of the request and is ThreadLocal. - ZuulFilter는 Pre -> Route -> Post 필터 순서로 Thread가 진행되는데 이때 쓰레드 안에 Local Storage 이용하여 필요한 데이터를 쉽게 전파하기 위하여 RequestContext 구현체를 사용한다. extensions of RequestContext can be substituted by setting the contextCla..
OpenSource
2020. 8. 7. 10:08