All Projects → microservices-practical → microservices-v9

microservices-practical / microservices-v9

Licence: other
Learn Microservices with Spring Boot - v9

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects
Batchfile
5799 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Gherkin
971 projects
CSS
56736 projects

Projects that are alternatives of or similar to microservices-v9

Fw Cloud Framework
基于springcloud全家桶开发分布式框架(支持oauth2认证授权、SSO登录、统一下单、微信公众号服务、Shardingdbc分库分表、常见服务监控、链路监控、异步日志、redis缓存等功能),实现基于Vue全家桶等前后端分离项目工程
Stars: ✭ 717 (+1692.5%)
Mutual labels:  rabbitmq, gateway, eureka
Spring Samples For All
spring、spring-boot、spring-cloud 常用整合用例
Stars: ✭ 401 (+902.5%)
Mutual labels:  rabbitmq, eureka
QuickStart-admin-Cloud
基于spring boot 2.0.8 目前集成了spring security oauth2 (server and client)、springboot-admin、openfeign、hystrix,zuul(后续会替换成gateway),config.....等组件
Stars: ✭ 25 (-37.5%)
Mutual labels:  gateway, eureka
CoSky
High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service | 高性能、低成本微服务治理平台
Stars: ✭ 57 (+42.5%)
Mutual labels:  eureka, service-registry
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+40445%)
Mutual labels:  gateway, eureka
smart-cloud
基于springboot && springcloud的脚手架,支持服务合并部署与拆分部署、接口加解密签名、日志数据 脱敏、接口数据mock、接口文档自动生成、请求幂等校验、接口日志&&sql日志切面打印、分表分库分布式事务、国际化语言等
Stars: ✭ 167 (+317.5%)
Mutual labels:  rabbitmq, gateway
Simplemall
基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例,融合spring cloud 相关组件,如spring-cloud-netflix、swagger等
Stars: ✭ 687 (+1617.5%)
Mutual labels:  rabbitmq, eureka
Jetfirecloud
基于SpringCloud Finchley.RELEASE的微服务开发脚手架,整合了spring-security-oauth2、springboot-admin、feign、hystrix、spring-cloud-gateway、turbine等全家桶
Stars: ✭ 129 (+222.5%)
Mutual labels:  gateway, eureka
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+16997.5%)
Mutual labels:  rabbitmq, eureka
Fxshop
基于SpringBoot+SpringCloud微服务的商城项目(demo版 不可用于生产)
Stars: ✭ 82 (+105%)
Mutual labels:  rabbitmq, eureka
Dotnetcore Microservices Poc
Very simplified insurance sales system made in a microservices architecture using .NET Core
Stars: ✭ 1,304 (+3160%)
Mutual labels:  rabbitmq, eureka
Springcloud
springCloud学习
Stars: ✭ 251 (+527.5%)
Mutual labels:  gateway, eureka
Springcloud
简单了解微服务
Stars: ✭ 174 (+335%)
Mutual labels:  gateway, eureka
His
HIS英文全称 hospital information system(医院信息系统http://59.110.234.89:9999/swagger-ui.html ),医疗信息就诊系统,系统主要功能按照数据流量、流向及处理过程分为临床诊疗、药品管理、财务管理、患者管理。诊疗活动由各工作站配合完成,并将临床信息进行整理、处理、汇总、统计、分析等。本系统包括以下工作站:门诊医生工作站、药房医生工作站、医技医生工作站、收费员工作站、对帐员工作站、管理员工作站。需求为东软提供的云医院。
Stars: ✭ 359 (+797.5%)
Mutual labels:  rabbitmq, gateway
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (+225%)
Mutual labels:  gateway, eureka
Cloud2020
SpringCloud
Stars: ✭ 550 (+1275%)
Mutual labels:  rabbitmq, eureka
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (+12.5%)
Mutual labels:  gateway, eureka
Springcloud Learning
学习Spring Cloud框架的总结,使用的是最新的Hoxton版本。主要对包括但不限于Eureka、Ribbon、Hystrix、Zuul、Gateway、Security、Bus、OpenFeign等核心组件的用法进行详细介绍。
Stars: ✭ 129 (+222.5%)
Mutual labels:  gateway, eureka
Java Ddd Skeleton
♨️ DDD in Java skeleton & examples. Course:
Stars: ✭ 140 (+250%)
Mutual labels:  rabbitmq, cucumber
Spring Boot Examples
🥗​ Spring/SpringBoot/SpringCloud 实践学习案例,从入门到精通,持续更新中,欢迎交流学习🍺 !
Stars: ✭ 110 (+175%)
Mutual labels:  rabbitmq, gateway

Learn Microservices with Spring Boot - v9

This project contains the version 9 of the application that is developed under the scope of the book Learn Microservices with Spring Boot. You can get a copy of the book on Amazon or Apress.

The book shows you how to evolve a simple Spring Boot application to become a full Microservices Architecture, using Spring Cloud Eureka, Ribbon, Zuul and Hystrix to implement Service Discovery, Load Balancing, the API Gateway pattern and a Circuit Breaker. Besides, you'll learn how to implement End-to-End tests with Cucumber, an Event-Driven system and the best practices when building Microservices.

Idea

These projects, included in Microservices-Practical repositories, illustrate how to start an application from scratch and then evolve it to become a full microservices environment.

This version introduces end to end testing with Cucumber JVM.

Contents

The repository contains six folders, one for each component of the system:

  • social-multiplication is one of the backend services. It has a REST API to get and provide results to simple multiplications. When an attempt is sent, it triggers an event.
  • gamification is the second backend service. It provides a REST API to get game stats and reacts to the event sent by the multiplication service, updating the figures.
  • service-registry is the Eureka Server, which is contacted by backend services and the gateway.
  • gateway is the Routing Service, implemented with Zuul. It connects with Eureka for service discovery, and performs load balancing with Ribbon.
  • ui contains the static files of the frontend application. It's configured to be started with Jetty.
  • tests_e2e contains the end to end test cases, developed with Cucumber (Gherkin notation)

How to execute the application

These are the instructions:

  • UI. Download and install Jetty. From the command line, execute java -jar [JETTY_HOME]/jetty-[VERSION]/start.jar (replace the values between brackets accordingly). You also need Java.
  • RabbitMQ. Download and install RabbitMQ. We use it as Event bus. When you have installed it, you need to run the RabbitMQ server (as a service or as a process, whatever you prefer).
  • Multiplication, Gamification, Service Registry and Gateway. You need to start all these services using the command line. Navigate to each folder and execute for every one of them: ./mvnw spring-boot:run. If you want to try load balancing you can execute more than one instance of the Multiplication or Gamification service. To do that, override the port number to avoid clashing: ./mvnw spring-boot:run -Drun.arguments="--server.port=A_FREE_PORT]"

Application - version 8

Do you want to know more?

If you want more details about the different application parts and how to get there from scratch, you can buy the book on Apress or Amazon.

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].