

Open the entry file of the newly created annotation will mark the current class asEureka Server. 然后选择SpringCloudDiscovery-EurekaServer,如下图: Now we create a service query center project,在项目上右键->new->Module->Spring Initializr->next,Select the same version as the parent projectjdk,如下图: 下图为Spring Cloud Overview of the various implementations of microservices.Ĭreate Service Query Center Subproject-EurekaServerĮurekaServeris for service inquiries,C#开发者可能更熟悉consul,Although the usage is different,But the effect is the same. SpringCloud是封装了Netflix公司开发的Eureka模块来实现服务注册和发现.下图为Spring Cloud EurekaList of this edition of: Spring Cloud很火,Many articles describe how to use,But for a beginner like me,I need to start by creating a project,So these articles are my enlightenment,帮助不大,So I had to write an article myself,用于备忘.
