Skip to content

Netflix Eureka with Spring Boot

Furkan Kürşat Danışmaz edited this page Sep 19, 2018 · 3 revisions

Source Folder: eureka

Tech Stack:

  • spring-boot
  • spring-mvc
  • spring-cloud
  • netflix-eureka
  • log4j2 (slf4j impl)
  • project lombok

This is a ready-to-use Maven Java project template with the libraries listed above.

Problems Solved

  • Service discovery

Netflix Eureka

Netflix Eureka is an open source library for service discovery and Spring has really nice support for it. With service discovery enabled, you can easily consume your services (they must be registered to the service registry) without knowing their host or port.

Modules in the Project

  • eureka-server: The service registry
  • eureka-client: A sample spring boot application containing a sample registry aware service
  • eureka-dto: Contains the data transfer objects
  • eureka-feign-client: A sample spring boot application with a feign client consuming a rest service of the eureka-client

Clone this wiki locally