From 178e96e9fd6dd2b4344775843ff01c3af8569555 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Wed, 2 Nov 2022 11:10:37 +0100 Subject: [PATCH] Fix Eureka Client hints. --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 08037e1c9..0499b79f4 100755 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -366,6 +366,12 @@ it can use the domain name from the server hostname as a proxy for the zone. If there is no other source of zone data, then a guess is made, based on the client configuration (as opposed to the instance configuration). We take `eureka.client.availabilityZones`, which is a map from region name to a list of zones, and pull out the first zone for the instance's own region (that is, the `eureka.client.region`, which defaults to "us-east-1", for compatibility with native Netflix). +=== AOT and Native Image Support + +Spring Cloud Netflix Eureka Client integration supports Spring AOT transformations and native images, however, only with refresh mode enabled. + +WARNING: If you want to run Eureka Client in AOT or native image modes, make sure to set `spring.cloud.refresh.enabled` to `false` + [[spring-cloud-eureka-server]] == Service Discovery: Eureka Server @@ -591,6 +597,10 @@ when running a Eureka server you must include these dependencies in your POM or ---- +=== AOT and Native Image Support + +Spring Cloud Netflix Eureka Server does not support Spring AOT transformations or native images. + == Configuration properties To see the list of all Spring Cloud Netflix related configuration properties please check link:appendix.html[the Appendix page].