In this project I'm demonstrating you the most interesting features of Spring Cloud Project for building microservice-based architecture. Most of examples are based on Spring Boot 1.5.
Currently you may find here some examples of microservices implementation using different projects from Spring Cloud. All the examples are divided into the branches and described in a separated articles on my blog. Here's a full list of available examples:
In the most cases you need to have Maven, JDK8+ and Docker for running third-party software like Zipkin or Logstash. In the fifth example with Kubernetes you will have to run Minikube on your local machine. The best way to run the sample applications is with IDEs like IntelliJ IDEA or Eclipse.
If you want to change anything on any service(s), you need to build the service(s) you changed and then :
docker-compose build docker-compose up
Our sample microservices-based system consists of the following modules:
nativemode. The configuration files are placed on the classpath.
The following picture illustrates the architecture described above.
In case of Kubernetes deployment we use only some of Spring Cloud components like Spring Cloud Feign or Sleuth without discovery or config server.
For similar examples of microservice applications with Spring Boot 2 you may refer to the repository https://awesomeopensource.com/project/piomin/sample-spring-microservices-new