For the latest stable version, please use Spring Cloud Gateway 4.2.0!

AOT and Native Image Support

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 LoadBalancerClient service IDs. You can do so by using the value or name attributes of the @LoadBalancerClient annotation or as values of the spring.cloud.loadbalancer.eager-load.clients property.