This topic describes the Java Development Kit (JDK) versions and Java frameworks supported by Microservices Governance of Microservices Engine (MSE).
Supported JDK versions
JDK 1.8
NoteWe recommend that you use JDK 8u212 or later for applications that are deployed in Kubernetes clusters.
JDK 11
NoteJDK 11 is supported for Microservices Governance when the MSE agent in version 2.9.x is used. We recommend that you use JDK 11.0.17 or later.
JDK 17
NoteJDK 17 is supported for Microservices Governance when the MSE agent in version 2.9.x is used. We recommend that you use JDK 17.0.9 or later.
JDK 21
NoteJDK 21 is supported for Microservices Governance when the MSE agent in version 3.2.x is used.
Supported JDK distributions
OpenJDK (recommended)
Alibaba Dragonwell (recommended)
Temurin
AdoptOpenJDK
Amazon Corretto
Azul
Java HotSpot VM
Eclipse OpenJ9 is incompatible with Microservices Governance provided by MSE. We recommend that you do not use Eclipse OpenJ9 when you use Microservices Governance.
Supported frameworks
Traffic protection and metric monitoring
Category | Framework | Framework version |
Web | Spring MVC | Associated Spring Cloud versions |
Spring Boot | 2.x.x to 3.2.3 | |
Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, and 2023.x | |
Feign | Associated Spring Cloud versions | |
Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
Spring Cloud Gateway | 2.0.2 to 4.1.0 | |
RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, and 3.2.x |
End-to-end canary release
For MSE Microservices Governance, the feature to implement an end-to-end canary release based on Kubernetes services when an HTTP client is used to call services is in public preview. The Java agent version must be 4.2.5-proxyless. For information about how to specify the Java agent version, see Specify the agent version. If you have questions, submit a ticket.
Category | Framework | Framework version |
Spring | Spring Boot | 2.x.x to 3.2.3 |
Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, and 2023.x | |
Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
Spring Cloud Gateway | 2.1.x to 4.1.0 | |
Load balancer | Spring Cloud LoadBalancer | Associated Spring Cloud versions |
Ribbon | Associated Spring Cloud versions | |
Registry | Nacos | Associated Spring Cloud versions |
Eureka | ||
ZooKeeper | ||
RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, and 3.2.x |
Web | Tomcat | 7.x to 10.x |
Undertow | 1.4.x to 2.2.x | |
Messaging | RocketMQ | 4.x |
RocketMQ ONS | 1.x and later | |
HTTP client (in public preview) | RestTemplate | Associated Spring versions |
WebClient | Associated Spring versions | |
Feign | Associated Spring Cloud versions | |
OkHttp | 2.2.x to 2.7.x, 3.2.x to 4.12.x | |
Apache HttpClient | 4.3.x to 4.5.x, 5.0.x to 5.4.x |
Graceful start and shutdown
Category | Framework | Framework version |
Spring | Spring Boot | 2.x.x to 3.2.3 |
Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, and 2023.x | |
Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
Spring Cloud Gateway | 2.1.x to 4.1.0 | |
Registry | Nacos | Associated Spring Cloud versions |
Eureka | ||
ZooKeeper | ||
RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, and 3.2.x |