AOT and Native Image Support
Spring Cloud Gateway 4.0.0 支持 Spring AOT 转换和本机映像,并要求在使用负载均衡路由时明确定义 LoadBalancerClient 服务 ID,可以通过使用 @LoadBalancerClient
注解的 value
或 name
属性,或使用 spring.cloud.loadbalancer.eager-load.clients
属性的值来实现。
从 4.0.0
起,Spring Cloud Gateway 支持 Spring AOT 转换和本机映像。
Since 4.0.0
, Spring Cloud Gateway supports Spring AOT transformations and native images.
如果你要使用负载均衡的路由,你需要明确定义 |
If you’re using load-balanced routes, you need to explicitly define your |