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?
Asked
Active
Viewed 1.4k times
10

eis
- 51,991
- 13
- 150
- 199

Alfredo Marin
- 195
- 1
- 1
- 14
1 Answers
19
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.

eis
- 51,991
- 13
- 150
- 199
-
Cool! You know where I can find examples about how to implement those new dependencies? (sorry about my bad english) – Alfredo Marin Jan 27 '21 at 17:30
-
5@AlfredoMarin here's one for spring cloud gateway: https://spring.io/guides/gs/gateway/ - google will probably find you for others too. – eis Jan 27 '21 at 17:32
-
1For me this means staying on spring-boot 2.3.x for the time being. Migrating to spring-cloud-gateway is not an easy path to follow. – Rüdiger Schulz Oct 20 '21 at 20:21
-
sorry to disturb you, I just wanna ask, for you is a good practice to add spring security (JWT) in spring cloud to protect my endpoints or should I do this with something else? – Sonn Sep 15 '22 at 10:37