Skip to content

codesometech/netflix-oss-example

 
 

Repository files navigation

#Spring Cloud - Netflix OSS Example

##Introduction

This repo contains an example of Sping cloud (Netflix OSS) micro-services architecture.

The main objective is to understand the spring cloud ecosystem. The following image shows the different components of this example:

Netflix OSS Example

The main parts are (they each have a readme.md with more details):

  1. [Eureka] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/eureka-server)
  2. [Config Service] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/config-service)
  3. [Turbine] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/turbine)
  4. [Hystrix Dashboard] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/hystrix-dashboard)
  5. [Microservice C: This is the server micro-service for service B] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_c)
  6. [Microservice B: This is the server micro-service for service A] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_b)
  7. [Microservice A: This is the client micro-service] (https://github.com/Oreste-Luci/netflix-oss-example/tree/master/service_a)
  8. Zuul
  9. Spring Cloud Dashboard
  10. RabbitMq for histryx stats aggregator
  11. Docker Compose

The services can be started in any other but it recommended to start them in above order.

Service A exposes endpoints that in turn call service B endpoints and service B will call service C endpoints. The client services find the server services via Eureka.

There is further documentation for each component in the links above.

##Further Reading

Note: This example is using Spring Boot version 1.2.3.RELEASE and Spring Cloud version 1.0.0.RELEASE because there were some issues in Feign with the latest Spring Cloud version.

About

POC of Spring Cloud / Netflix OSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 80.1%
  • Shell 19.9%