'Spring Boot 2.4.2 Gateway API with Zuul
I'm trying to build an Gateway API using the new Spring Boot Starter Parent 2.4.2 but, for some reason, looks like the spring-cloud-starter-netflix-zuul isn't supported anymore and doesn't work with the new version! Is there any substitute?
Solution 1:[1]
From Spring blog:
Zuul 1 and Archaius 1 have both been superseded by later versions that are not backward compatible.
The following Spring Cloud Netflix modules and corresponding starters will be placed into maintenance mode:
- spring-cloud-netflix-archaius
- spring-cloud-netflix-hystrix-contract
- spring-cloud-netflix-hystrix-dashboard
- spring-cloud-netflix-hystrix-stream
- spring-cloud-netflix-hystrix
- spring-cloud-netflix-ribbon
- spring-cloud-netflix-turbine-stream
- spring-cloud-netflix-turbine
- spring-cloud-netflix-zuul
Replacements
We recommend the following as replacements for the functionality provided by these modules.
| Current | Replacement |
|---|---|
| Hystrix | Resilience4j |
| Hystrix Dashboard / Turbine | Micrometer + Monitoring System |
| Ribbon | Spring Cloud Loadbalancer |
| Zuul 1 | Spring Cloud Gateway |
| Archaius 1 | Spring Boot external config + Spring Cloud Config |
So you'd need to migrate to Spring Cloud Gateway.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
