I am trying to configure a distributed system based on the current version of spring -cloud (which basically means Netflix OSS) using the following components
- 1 or more cloud configuration servers
- 1 or more Eureka servers.
- 1 or more services using Eureka and Config Server clients
The settings above are simple enough to get started, but as soon as you start looking for settings so that configuration changes in the cloud configuration servers automatically lead to changes in the values of the actual clients, everything starts to get complicated.
I understand that for this function, you need to introduce spring-cloud-bus clients to services, which, in turn, will use the currently only supported implementation, rabbitmq servers (the actual rabbitmq binaries, and not some spring-boot, for example, eureka or Config servers) so that change events on the Config server are automatically sent to clients.
It sounds contradictory to configure such a system and for hard addresses for rabbitmq servers in clients (even if you keep the number of rabbitmq servers more or less static).
How is it supposed to register rabbitmq server instances on the servers (services) of the Eureka service so that clients can find them without having any information about their location before starting?
, , , , rabbitmq spring -cloud. , + + spring -cloud-bus.