4.3.12 Officially Supported Middleware Clients in Modules
Compatibility Relationships Across Different Versions of the Framework
Users can choose to import the Koupleless version as needed, based on actual JDK and SpringBoot versions.
JDK | SpringBoot | SOFA-ARK | Koupleless |
---|---|---|---|
1.8 | 2.x | 2.x.x | 1.x.x |
17 | 3.0.x, 3.1.x | 3.0.7 (不再更新) | 2.0.4(不再更新) |
17 & 21 | 3.2.x and above | 3.1.x | 2.1.x |
For Koupleless SDK latest versions, please refer to https://github.com/koupleless/runtime/releases
In Koupleless modules, the official support currently includes and is compatible with common middleware clients.
Note: Here, “already supported” needs to be included in the base POM by importing the relevant client dependencies (strongly recommended to use the SpringBoot Starter method to import the dependencies), and also in the module POM by importing the relevant dependencies and setting <scope>provided</scope>
to delegate the dependencies to the base for loading.
Compatibility Report for Various Components
Middleware Client | Version | Remarks |
---|---|---|
JDK | 8.x 17.x | Already Supported |
SpringBoot | >= 2.3.0 or 3.x | Already Supported Base and module complete usage examples for JDK17 + SpringBoot3.x can be seen here |
SpringBoot Cloud | >= 2.7.x | Already Supported Complete usage examples for base and modules can be seen here |
SOFABoot | >= 3.9.0 or 4.x | Already Supported |
JMX | N/A | Already Supported Requires adding the -Dspring.jmx.default-domain=${spring.application.name} startup parameter to the base |
log4j2 | Any | Already Supported. Import log4j2 in the base and module, and additionally import the dependency: <dependency> <groupId>com.alipay.koupleless</groupId> <artifactId>koupleless-adapter-log4j2</artifactId> <version>${latest Koupleless version}</version> <scope>provided</scope> <!– Module needs provided –> </dependency> Complete usage examples for base and modules seen here |
slf4j-api | 1.x and >= 1.7 | Already Supported |
tomcat | 7.x, 8.x, 9.x, 10.x and above | Already Supported Complete usage examples for base and modules seen here |
netty | 4.x | Already Supported Complete usage examples for base and modules seen here |
sofarpc | >= 5.8.6 | Already Supported |
dubbo | 3.x | Already Supported Complete usage examples and considerations for base and modules can be seen here |
grpc | 1.x and >= 1.42 | Already Supported Complete usage examples and considerations for base and modules can be seen here |
protobuf-java | 3.x and >= 3.17 | Already Supported Complete usage examples and considerations for base and modules can be seen here |
apollo | 1.x and >= 1.6.0 | Already Supported Complete usage examples and considerations for base and modules can be seen here |
nacos | 2.1.x | Already Supported Complete usage examples and considerations for base and modules can be seen here |
kafka-client | >= 2.8.0 or >= 3.4.0 | Already Supported Complete usage examples for base and modules can be seen here |
rocketmq | 4.x and >= 4.3.0 | Already Supported Complete usage examples for base and modules can be seen here |
jedis | 3.x | Already Supported Complete usage examples for base and modules can be seen here |
xxl-job | 2.x and >= 2.1.0 | Already Supported Needs to be declared as a compile dependency for use in modules |
mybatis | >= 2.2.2 or >= 3.5.12 | Already Supported Complete usage examples for base and modules can be seen here |
druid | 1.x | Already Supported Complete usage examples for base and modules can be seen here |
mysql-connector-java | 8.x | Already Supported Complete usage examples for base and modules can be seen here |
postgresql | 42.x and >= 42.3.8 | Already Supported |
mongodb | 4.6.1 | Already Supported Complete usage examples for base and modules can be seen here |
hibernate | 5.x and >= 5.6.15 | Already Supported |
j2cache | Any | Already Supported Needs to be declared as a compile dependency for independent use in modules |
opentracing | 0.x and >= 0.32.0 | Already Supported |
elasticsearch | 7.x and >= 7.6.2 | Already Supported |
jaspyt | 1.x and >= 1.9.3 | Already Supported |
OKHttp | - | Already Supported Needs to be placed in the base, please use module automatic slimming capability |
io.kubernetes:client | 10.x and >= 10.0.0 | Already Supported |
net.java.dev.jna | 5.x and >= 5.12.1 | Already Supported |
prometheus | - | Support to be verified |
skywalking | - | The official does not support multiple service_names for one process. Tracing isolation can only be achieved by having each module print logs to separate directories. Please refer to the logging samples |
Compatibility Relationships among Framework Versions
Note: Users can choose Koupleless versions according to their actual JDK and SpringBoot versions.
JDK | SpringBoot | SOFAARK | Koupleless |
---|---|---|---|
1.8 | 2.x | 2.2.10 | 1.x.x |
17 | 3.0.x, 3.1.x | 3.0.x | 2.0.x |
17 | 3.2.x and above | 3.1.x | 2.1.x |
Feedback
Was this page helpful?
Welcome propose feedback to community!
Welcome propose feedback to community, or improve this document directly.。