April 2018
Intermediate to advanced
432 pages
10h 38m
English
The main task of Spring Cloud Netflix Zuul is to route incoming requests to downstream services. Therefore, it has to use an HTTP client implementation to communicate with those services. The default HTTP client used by Zuul is now backed by the Apache HTTP Client instead of the deprecated Ribbon RestClient. If you would like to use Ribbon, you should set the ribbon.restclient.enabled property to true. You may also try OkHttpClient by setting the ribbon.okhttp.enabled property to true.
We may configure the basic settings for HTTP clients such as the connect or read timeout, and the maximum number of connections. There are two available options for such configurations depending on whether we are using service ...