Spring Cloud
Spring Cloud Config:
Provides centralized, externalized, secured, easy-to-reach source of application configuration
Spring cloud Bus:
Provide simple way to notify clients to config changes
Spring Cloud Netflix Eureka:
Service Discovery - Allows application to register themselves as clients
Which Comes First (Eureka or Config Server)?
Config First Bootstrap (default): Use config servier to configure location of Eureka server
- implies
spring.cloud.uri
configured in each app
- implies
Eureka First Bootstrap: Use Eureka to expose location of config server
- Config servier is just another client
- Implies
spring.cloud.config.discovery.enable=true
andeureka.client.serviceUrl.defaultZone
configured in each app. - Client makes two network trips to obtain configuration