All Products
Search
Document Center

Microservices Engine:Java frameworks supported by Microservices Governance

Last Updated:Aug 21, 2024

This topic describes the Java frameworks that are supported by Microservices Governance. You can select an appropriate Java Development Kit (JDK) version and Java framework version based on your business requirements.

Supported JDK versions

  • JDK 1.8

    Note

    We recommend that you use JDK 8u212 or later for applications that are deployed in Kubernetes clusters.

  • JDK 11

    Note

    JDK 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

    Note

    JDK 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

    Note

    JDK 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

Note

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

Database

MyBatis

3.4.6 to 3.5.15

End-to-end canary release

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

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