Why SpringCloud bootstrap class without @EnableDiscoveryClient can also sign in to eureka

Because the version is not the same springcloud

1.5.8.RELEASE correspond Edgeware.RELEASE --------- This is not to use client annotations

1.4.3.RELEASE ------------- Camden.SR3 --- must add a corresponding comment

Queries Cause: Dalston.SR4 versions need to add the corresponding notes on the main function;

The Edgware.RELEASE the optimization of Eureka Client registration, the default is to assume that the client to complete the registration center to register.

Guess you like

Origin www.cnblogs.com/ryq1121/p/11284730.html