All Products
Search
Document Center

Microservices Engine:Java frameworks supported by Microservices Governance

Last Updated:Mar 13, 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 1.7

    Note

    Java 7 is not supported for Microservices Governance when the MSE agent in version 3.0.x is used. If you still use Java 7, we recommend that you upgrade the Java version at the earliest opportinity.

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.

Supported frameworks

Traffic protection and metric monitoring

Category

Framework

Framework version

Web

Spring MVC

Associated Spring Cloud versions

Spring Boot

2.x.x

Spring Cloud

F, G, H, 2020.x, and 2021.x

Feign

Associated Spring Cloud versions

Java gateway

Spring Cloud Zuul

1.3.x

Spring Cloud Gateway

2.0.2 to 3.1.8

RPC

Dubbo

3.0.x and 2.7.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

Spring Cloud

F, G, H, 2020.x, and 2021.x

Java gateway

Spring Cloud Zuul

1.3.x

Spring Cloud Gateway

2.0.2 to 3.1.8

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

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

Spring Cloud

F, G, H, 2020.x, and 2021.x

Java gateway

Spring Cloud Zuul

1.3.x

Spring Cloud Gateway

2.0.2 to 3.1.8

Registry

Nacos

Associated Spring Cloud versions

Eureka

ZooKeeper

RPC

Dubbo

2.7.x