Eureka high availability configuration
Principle:
A failure in an Eureka registry can be replaced by other Eureka
- Register Eureka1 and Eureka2 with each other and synchronize information
- Talk about registering microservices on two Eurekas and
registering each other
The service is registered to two registries, and there is a function of information synchronization between the registries, but in order to prevent a single machine from going down, the two machines must be registered.
Consumer configuration