AHAS supports mainstream frameworks to simplify application integration. This topic lists the third-party components and frameworks supported by AHAS.
Component/Framework | Supported versions | Supported Java Agent versions | Supported SDK versions |
Dubbo | All | 3.x, 2.7.x, 2.6.x | 3.x, 2.7.x, 2.6.x |
Web Servlet | All | 3.0+ | 2.x+ |
Spring Boot | 1.3.x+ | All | See Note |
Spring MVC | 4.x+ | All | See Note |
Spring Cloud Gateway | 2.x | 1.5.0+ | See Note |
Zuul 1.x | 1.3.x | 1.5.0+ | See Note |
GRPC-Java | 1.13+ | 1.7.0 | Requires the sentinel-grpc-adapter dependency |
Jetty | 8.x+ | Servlet 3.0+ support: all | Supported through servlet |
Tomcat | 7.x+ | Servlet 3.0+ support: all | Supported through servlet |
WebLogic | 10.3 | Servlet 3.0+ support: all Servlet 2.x support: 1.6.0+ | Supported through servlet |
HttpClient 3 | 3.x+ | Support is planned | Support is planned |
HttpClient 4 | 4.x+ | Support is planned | Support |
JDK HTTP | 1.7.x+ | Support is planned | Support is planned |
OKHttp | 2.x+ | Support is planned | Supported |
MyBatis | 3.x+ | 1.8.0+ | 1.4.1+ |
MySQL JDBC | 5.0.x+ | 1.6.0+ | Supported through MyBatis |
Oracle JDBC | 12.x | 1.6.0+ | Supported through MyBatis |
PostgreSql JDBC | 9.4+ | Support is planned | Not supported |
SQLServer JDBC | 6.4+ | Support is planned | Not supported |
Redis Client (Jedis) | Support is planned | 1.7.0 | Support is planned |
MemCached | 2.8+ | 1.7.0 | Support is planned |
MongoDB | 3.7+ | Support is planned | Support is planned |
RocketMQ (callback pattern) | 4.x | 1.7.0 | Requires manual instrumentation |
RabbitMQ | 3.7+ | 1.7.0 | Requires manual instrumentation |
SOFARPC | 5.x | Support is planned | 1.5.3+ |
Starting with SDK/Starter version 1.9.1, AHAS traffic protection supports JDK 6 to 11.
To integrate Spring Boot or Spring Cloud web applications, import the
spring-boot-starter-ahas-sentinel-clientdependency.For Spring Cloud Gateway, import the
spring-cloud-gateway-starter-ahas-sentineldependency. For Zuul 1.x gateways, import thespring-cloud-zuul-starter-ahas-sentineldependency. No other dependencies are required.