All Projects → piomin → Sample Spring Microservices New

piomin / Sample Spring Microservices New

Demo for Spring Boot 2 and Spring Cloud microservices with distributed configuration (Spring Cloud Config), service discovery (Eureka), API gateway (Spring Cloud Gateway, Zuul), Swagger2 API documentation, logs correlation using Spring Cloud Sleuth and many more

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Sample Spring Microservices New

Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (-34.17%)
Mutual labels:  microservices, eureka, spring-cloud, ribbon, zuul, spring-cloud-netflix
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+2801.25%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign
Spring Boot Cloud
基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
Stars: ✭ 2,044 (+265.65%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign
Bookstoreapp Distributed Application
Ecommerce project is being developed using Spring Boot Microservices and Spring Cloud (Backend) and React (Frontend). Splitting the Ecommerce functionality into various individual microservices so that they can be distributed, scale really well and make use of resources efficiently.
Stars: ✭ 63 (-88.73%)
Mutual labels:  microservices, eureka, spring-cloud, zuul, feign
Spring Cloud Learning
☁️适合刚接触微服务架构的初学者了解和学习微服务,主要集成了注册中心、服务网关、配置中心、熔断机制、应用监控。
Stars: ✭ 37 (-93.38%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (-91.95%)
Mutual labels:  microservices, eureka, spring-cloud, ribbon, zuul
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+45.62%)
Mutual labels:  microservices, eureka, spring-cloud, ribbon, zuul
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (-76.74%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign
Microservices Example
Example of a microservices architecture on the modern stack of Java technologies
Stars: ✭ 66 (-88.19%)
Mutual labels:  microservices, eureka, spring-cloud, feign, spring-cloud-netflix
Advanced Java
😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识
Stars: ✭ 59,142 (+10479.96%)
Mutual labels:  eureka, spring-cloud, ribbon, feign
tictactoe-microservices-example
An example of Spring Cloud Microservices application based on books (see Links section)
Stars: ✭ 23 (-95.89%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
microservices-v8
Learn Microservices with Spring Boot - v8
Stars: ✭ 32 (-94.28%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Springcloudexamples
Spring Cloud 学习教程
Stars: ✭ 208 (-62.79%)
Mutual labels:  eureka, spring-cloud, ribbon, feign
Simplemall
基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例,融合spring cloud 相关组件,如spring-cloud-netflix、swagger等
Stars: ✭ 687 (+22.9%)
Mutual labels:  swagger2, eureka, spring-cloud, zuul
Sample Spring Microservices Kubernetes
sample spring boot application that uses some features provided by spring cloud kubernetes, spring cloud ribbon and zuul proxy deployed on Kubernetes
Stars: ✭ 123 (-78%)
Mutual labels:  swagger2, spring-cloud, ribbon, zuul
Spring Cloud Study
SpringCloud源码实战微服务框架(202003更新到SpringCloud的Greenwich版本,即基于SpringBoot2.1.7版本,以及新增SpringCloud Alibaba从入门到精通教程),涉及内容:配置中心,注册中心,服务提供者,服务消费者,熔断器,配置服务,API Gateway,API网关限流ratelimit,服务链路追踪zipkin,hystrix监控,监控聚合中心turbine等
Stars: ✭ 215 (-61.54%)
Mutual labels:  eureka, ribbon, zuul, feign
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (-41.68%)
Mutual labels:  microservices, spring-cloud, zuul, feign
Spring Cloud Cloudfoundry
Integration between Cloudfoundry and the Spring Cloud APIs
Stars: ✭ 83 (-85.15%)
Mutual labels:  microservices, spring-cloud, ribbon, service-discovery
Spring Cloud Netflix
Integration with Netflix OSS components
Stars: ✭ 4,498 (+704.65%)
Mutual labels:  microservices, spring-cloud, ribbon, feign
spring-microservices
Example of a microservice architecture using Spring Cloud
Stars: ✭ 76 (-86.4%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka

Microservices with Spring Cloud Advanced Demo Project Twitter

CircleCI

SonarCloud Bugs Coverage Lines of Code

In this project I'm demonstrating you the most interesting features of Spring Cloud Project for building microservice-based architecture.

Getting Started

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:

  1. Using Spring Cloud Netlix Eureka as a discovery server, Zuul as a gateway, OpenFeign for communication and Spring Cloud Config Server. The example is available in the branch master. A detailed guide may be find in the following article: Quick Guide to Microservices with Spring Boot 2.0, Eureka and Spring Cloud
  2. Using Spring Cloud Alibaba Nacos as a discovery and configuration server, Zuul and OpenFeign. The example is available in the branch alibaba. A detailed guide may be find in the following article: Microservices with Spring Cloud Alibaba
  3. Using Spring Cloud with Spring Boot support for GraphQL for building microservices, Apollo for inter-service communication and Eureka as a discovery server. The example is available in the branch graphql. A detailed guide may be find in the following article: GraphQL – The Future of Microservices?
  4. Using Spring Boot and partially Spring Cloud for building microservices deployed on OpenShift with Source-2-Image mechanism. The example is available in the branch openshift. A detailed guide may be find in the following article: Running Java Microservices on OpenShift using Source-2-Image
  5. Using Trampoline for managing group of Spring Boot microservices locally. The example is available in the branch trampoline. A detailed guide may be find in the following article: Managing Spring Boot apps locally with Trampoline

Usage

In the most cases you need to have Maven and JDK8+. In the fourth example with OpenShift you will have to run Minishift on your machine. The best way to run the sample applications is with IDEs like IntelliJ IDEA or Eclipse.

Architecture

Our sample microservices-based system consists of the following modules:

  • gateway-service - a module that Spring Cloud Netflix Zuul for running Spring Boot application that acts as a proxy/gateway in our architecture.
  • config-service - a module that uses Spring Cloud Config Server for running configuration server in the native mode. The configuration files are placed on the classpath.
  • discovery-service - a module that depending on the example it uses Spring Cloud Netflix Eureka or Spring Cloud Netlix Alibaba Nacos as an embedded discovery server.
  • employee-service - a module containing the first of our sample microservices that allows to perform CRUD operation on in-memory repository of employees
  • department-service - a module containing the second of our sample microservices that allows to perform CRUD operation on in-memory repository of departments. It communicates with employee-service.
  • organization-service - a module containing the third of our sample microservices that allows to perform CRUD operation on in-memory repository of organizations. It communicates with both employee-service and organization-service.

The following picture illustrates the architecture described above.


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].