I am new to the Spring Cloud, what is the exact difference between
spring-cloud-starter-eureka-server
and spring-cloud-starter-netflix-eureka-server
?
When we should go for spring-cloud-starter-eureka-server and spring-cloud-starter-netflix-eureka-server?
What is the business implication of these two ?
Spring Cloud Netflix provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
Eureka Server is an application that holds the information about all client-service applications. Every Micro service will register into the Eureka server and Eureka server knows all the client applications running on each port and IP address. Eureka Server is also known as Discovery Server.
Eureka 2 was an experiment that ended not being used. Netflix still uses eureka 1.
The Eureka server works in two modes: Standalone: in local, we configure a stand-alone mode where we have only one Eureka server (localhost) and the same cloning property from itself. Clustered: we have multiple Eureka servers, each cloning its states from its peer.
There is no difference, it's just a naming convention in Spring Cloud.
Since Spring Cloud Edgware, use of the deprecated starter will log a warning with the name of the new starter to use in its place.
For your first question : It's highly recommended to go for spring-cloud-starter-netflix-... instead of spring-cloud-starter-...
Second question : no business implication. Maybe you should think about next releases to be conform.
You can find more details on Spring Cloud Wiki
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With