notes
7, Eureka service registry configuration console Problem
Description: on the service registry management background, (follow-up will go into detail)
question: eureka management background bunch of red font appears: a warning that there are on-line service low
! EMERGENCY EUREKA . MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT rENEWALS ARE LESSER THAN THRESHOLD AND HENCE THE INSTANCES ARE NOT BEING EXPIRED JUST TO BE SAFE.
Close inspection method: eureka configuration file on the server
Server:
enable-Self-Preservation: to false
Note: self-protection mode is disabled closed, is enabled by default state true
question two: Why just add a registry address, you can register
By having spring-cloud-starter- netflix-eureka-client on the classpath, your application automatically registers with the . Eureka Server Configuration is required to locate the Eureka server, as shown in the following example:
Start
Eureka official red error is the default self-protection warning. Sometimes No description our services
if you want to turn off this prompt
prompt self-protection mode has been closed. In the case of network problems can not protect your service
to protect themselves, not inside the service list to weed out service. Assume Goods Services because of network problems can not be reported to the Service Center to register. If the self-protection orders to open a service request registration center to pick up goods service, or you can get. This avoids the problem because the network service is not hang, is considered he hung up.
If you do not turn on self-protection, then the list of registered registration center will weed out the goods Goods Services.
We are just in product profiles which added an address can be registered with the registry Eureka it?