As per the – documentation 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
https://stackoverflow.com/questions/74669085/spring-cloud-netflix-cannot-enable-eureka-client

