Microservices Governance in Microservices Engine (MSE) supports multiple Java Development Kit (JDK) versions and Java frameworks. Framework support varies by governance feature. Verify compatibility for each feature you plan to use before you integrate the MSE Java agent.
Supported JDK versions
| JDK version | Required MSE agent version | Recommended minimum JDK patch |
|---|---|---|
| JDK 1.8 | -- | JDK 8u212 or later (recommended for Kubernetes deployments) |
| JDK 11 | 2.9.x | JDK 11.0.17 or later |
| JDK 17 | 2.9.x | JDK 17.0.9 or later |
| JDK 21 | 3.2.x | -- |
Supported JDK distributions
| Distribution | Status |
|---|---|
| OpenJDK | Recommended |
| Alibaba Dragonwell | Recommended |
| Temurin | Supported |
| AdoptOpenJDK | Supported |
| Amazon Corretto | Supported |
| Azul | Supported |
| Java HotSpot VM | Supported |
Eclipse OpenJ9 is incompatible with MSE Microservices Governance. We recommend that you do not use Eclipse OpenJ9 when you use Microservices Governance.
Supported frameworks by governance feature
Not all frameworks support every governance feature. Use the feature-specific tables in this section to check compatibility for your use case.
Traffic protection and metric monitoring
| Category | Framework | Supported versions |
|---|---|---|
| Web | Spring MVC | Associated Spring Cloud versions |
| Web | Spring Boot | 2.x.x to 3.2.3 |
| Web | Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, 2023.x |
| Web | Feign | Associated Spring Cloud versions |
| Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
| Java gateway | Spring Cloud Gateway | 2.0.2 to 4.1.0 |
| RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, 3.2.x |
End-to-end canary release
| Category | Framework | Supported versions |
|---|---|---|
| Spring | Spring Boot | 2.x.x to 3.2.3 |
| Spring | Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, 2023.x |
| Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
| Java gateway | Spring Cloud Gateway | 2.1.x to 4.1.0 |
| Load balancer | Spring Cloud LoadBalancer | Associated Spring Cloud versions |
| Load balancer | Ribbon | Associated Spring Cloud versions |
| Registry | Nacos | Associated Spring Cloud versions |
| Registry | Eureka | Supported |
| Registry | ZooKeeper | Supported |
| RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, 3.2.x |
| Web server | Tomcat | 7.x to 10.x |
| Web server | Undertow | 1.4.x to 2.2.x |
| Messaging | RocketMQ | 4.x |
| Messaging | RocketMQ ONS | 1.x and later |
| HTTP client (public preview) | RestTemplate | Associated Spring versions |
| HTTP client (public preview) | WebClient | Associated Spring versions |
| HTTP client (public preview) | Feign | Associated Spring Cloud versions |
| HTTP client (public preview) | OkHttp | 2.2.x to 2.7.x, 3.2.x to 4.12.x |
| HTTP client (public preview) | Apache HttpClient | 4.3.x to 4.5.x, 5.0.x to 5.4.x |
End-to-end canary release based on Kubernetes services with an HTTP client is in public preview. This feature requires Java agent version 4.2.5-proxyless. For details, see Specify the agent version. If you have questions, submit a ticket.
Graceful start and shutdown
| Category | Framework | Supported versions |
|---|---|---|
| Spring | Spring Boot | 2.x.x to 3.2.3 |
| Spring | Spring Cloud | E, F, G, H, 2020.x, 2021.x, 2022.x, 2023.x |
| Java gateway | Spring Cloud Zuul | 1.3.x to 2.1.3 |
| Java gateway | Spring Cloud Gateway | 2.1.x to 4.1.0 |
| Registry | Nacos | Associated Spring Cloud versions |
| Registry | Eureka | Supported |
| Registry | ZooKeeper | Supported |
| RPC | Dubbo | 2.7.x, 3.0.x, 3.1.x, 3.2.x |
Framework support comparison across features
The following table summarizes which framework categories each governance feature supports. Use this table to quickly identify whether a framework category is available for your target feature.
| Framework category | Traffic protection | End-to-end canary release | Graceful start and shutdown |
|---|---|---|---|
| Spring Boot / Spring Cloud | Yes | Yes | Yes |
| Spring Cloud Zuul | Yes | Yes | Yes |
| Spring Cloud Gateway | Yes | Yes | Yes |
| Dubbo | Yes | Yes | Yes |
| Load balancer (Ribbon, Spring Cloud LoadBalancer) | -- | Yes | -- |
| Registry (Nacos, Eureka, ZooKeeper) | -- | Yes | Yes |
| Web server (Tomcat, Undertow) | -- | Yes | -- |
| Messaging (RocketMQ) | -- | Yes | -- |
| HTTP client (public preview) | -- | Yes | -- |