After completing the Service registration center, let's try to add an existing spring boot application to Eureka's service governance system
Create a new spring boot project to join Eureka client Dependency
The Eureka client dependency, not the server dependency, is added here
View under dependent packages
Adding @enablediscoveryclient annotations to the main class
Add the following configuration information to the Application.properties
# Service Name, registration center to mark the service
Spring.application.name=hello-service
# Specify the registration center
Eureka.client.serviceurl.defaultzone=http://localhost:1111/eureka
Start the project
View the service registry at the same time
At this point a normal spring boot project is registered with our Service registration center.
Spring Cloud Eureka 3 (Eureka client registration service provider)