Auto Registering with Eureka

The process to register a Micronaut application with Eureka is very similar to with Consul, as seen in the previous section, simply add the necessary EurekaConfiguration. A minimal example can be seen below:

Auto Registering with Eureka (application.yml)

  1. micronaut:
  2. application:
  3. name: hello-world
  4. eureka:
  5. client:
  6. registration:
  7. enabled: true
  8. defaultZone: "${EUREKA_HOST:localhost}:${EUREKA_PORT:8761}"