Open aaron-sr opened 3 years ago
I've tested a bit and this seems to a timing issue: If I restart the docker-native
container, it registers fine to Eureka. Even if I restart Eureka, the docker-native
container is able to register again. So maybe this error just occurs because GraalVM is so fast at startup, it outperforms the org.springframework.cloud.netflix.eureka.server.EnableEurekaServer
instance.
Edit: Error still occurs. The health status seems to be delayed, so you have to wait until first occurrence.
Hi,
I configured a micronaut service to connect to Eureka which works fine for a regular Java package. But if I package it via
docker-native
as a GraalVM image, the microservice throw constantly exceptions at runtime.Imho, Jackson fails because it uses an unsupported reflection access to deserialize
io.micronaut.discovery.eureka.client.v2.AbstractEurekaClient.ApplicationInfo
. Micronaut Documentation states that you have to annotate such classes with@Introspected
to point out to the compiler to add additional configuration information.Greets, Aaron