All Projects → coderqianlq → Spring Cloud Learning

coderqianlq / Spring Cloud Learning

Licence: mit
☁️适合刚接触微服务架构的初学者了解和学习微服务,主要集成了注册中心、服务网关、配置中心、熔断机制、应用监控。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Spring Cloud Learning

Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+43732.43%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, feign, consul, gateway
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (+251.35%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, feign, gateway
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (+21.62%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, gateway
Spring Boot Cloud
基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
Stars: ✭ 2,044 (+5424.32%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign, consul
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 (+70.27%)
Mutual labels:  eureka, spring-boot, spring-cloud, zuul, feign, consul
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+18383.78%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, consul
Springcloudexamples
Spring Cloud 学习教程
Stars: ✭ 208 (+462.16%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, feign, consul
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 (+894.59%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul
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
Stars: ✭ 559 (+1410.81%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, feign
Fw Spring Cloud
SpringCloud构建实战、从入门到高级,包含eureka、zuul、gateway、feign、ribbon、hystrix、mq、turbine、nacos、elk、consul、zookeeper、rocketmq、kafka、分布式事务(RocketMq、LCN、Seata)、分库分表(Sharding-JDBC)、分布式锁(Redis、Guava)、jwt、SkyWalking、Zipkin、bootadmin等使用案例
Stars: ✭ 276 (+645.95%)
Mutual labels:  ribbon, zuul, feign, consul, gateway
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+2100%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul
Spring Cloud Learning
spring-cloud, spring-cloud-alibaba, nacos, feign, ribbon, eurka, cloud-config, hystrix, seata
Stars: ✭ 18 (-51.35%)
Mutual labels:  eureka, spring-cloud, ribbon, feign
Spring Cloud Security
Security concerns for distributed applications implemented in Spring
Stars: ✭ 488 (+1218.92%)
Mutual labels:  spring-boot, spring-cloud, zuul, feign
Lamp Cloud
lamp-cloud 基于Jdk11 + SpringCloud + SpringBoot的微服务快速开发平台,其中的可配置的SaaS功能尤其闪耀, 具备RBAC功能、网关统一鉴权、Xss防跨站攻击、自动代码生成、多种存储系统、分布式事务、分布式定时任务等多个模块,支持多业务系统并行开发, 支持多服务并行开发,可以作为后端服务的开发脚手架。代码简洁,注释齐全,架构清晰,非常适合学习和企业作为基础框架使用。
Stars: ✭ 4,125 (+11048.65%)
Mutual labels:  eureka, spring-cloud, zuul, gateway
spring-microservices
Example of a microservice architecture using Spring Cloud
Stars: ✭ 76 (+105.41%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
tictactoe-microservices-example
An example of Spring Cloud Microservices application based on books (see Links section)
Stars: ✭ 23 (-37.84%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Advanced Java
😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识
Stars: ✭ 59,142 (+159743.24%)
Mutual labels:  eureka, spring-cloud, ribbon, feign
spring-projects
Some spring sample projects
Stars: ✭ 24 (-35.14%)
Mutual labels:  consul, spring-cloud, eureka, feign
Spring Cloud Netflix
Integration with Netflix OSS components
Stars: ✭ 4,498 (+12056.76%)
Mutual labels:  spring-boot, spring-cloud, ribbon, feign
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (+781.08%)
Mutual labels:  spring-boot, spring-cloud, zuul, feign

Spring-Cloud-Learning

Build Status License Coverage Status

README: English | 中文

spring-cloud-learning can be used as a project to learn microservices, and it's mainly contain service discovery, service gateway, configuration management, circuit breakers, application monitor.

Table of Contents

Components

  • [x] Eureka
  • [x] Consul
  • [ ] Ribbon
  • [x] Feign
  • [x] Hystrix
  • [x] Turbine
  • [x] Zuul
  • [x] Spring Cloud Config
  • [x] Spring Cloud Stream
  • [x] Spring Cloud Bus
  • [ ] Spring Cloud Sleuth
  • [ ] Spring Cloud Security
  • [ ] Spring Cloud Task
  • [x] Spring Cloud Gateway

To be supplemented...

Getting Started

Two methods will mainly introduced, but no matter what you need to clone the code.

$ git clone https://github.com/coderqianlq/spring-cloud-learning.git

Use directly (recommend)

You can use ide to import the project with maven, and use ide or use command line to start project.

$ mvn spring-boot:run

You can also package the code and run it.

$ java -jar xxx.jar

Use docker

First, you have to make sure you have installed docker and start docker server.

$ docker --version
Docker version 18.06.1-ce, build e68fc7a

Then, you need to enter each submodule and execute the docker building command.

$ cd eureka-server

$ mvn clean package -Pdocker docker:build

Next, return to the parent module and execute docker-compose command.

$ docker-compose up -d

Finally, you can open the registration center(default url: http://localhost:8761) to see if the service is registered successfully.

Preview

Spring boot admin wallboard

Spring Boot admin detail

Service customer hystrix stream

Hystrix monitor

Modules

- port remarks
admin-dashboard 8040 Spring boot Admin Dashboard for monitor spring cloud services
api-gateway 9090 Service gateway(Zuul)
config-server 8504 if you change the port, you need also modify bootstrap.yml of service-customer.
consul-server 8502 Service discovery(Consul)
eureka-server 8761 Service discovery(Eureka)
gateway-server 8080 Service gateway(Gateway)
hystrix-dashboard 8050
service-customer 8200 Integrated multiple components, including Feign, Spring Cloud Config, Spring Cloud Stream, Spring Cloud Bus
service-producer 8100
turbine-server 8060
zipkin-server 9411 if you change the port, you need also modify bootstrap.yml of service-customer.

Dependency Chart

Spring Boot Spring Cloud Spring Boot Admin Swagger2
2.1.5 Greenwich 2.1.6 2.7.0

Todo List

  • [ ] Split the module of service-customer.
  • [x] Add the detailed usage of hystrix with turbine.
  • [x] Update Spring Boot to 2.x and both Spring Cloud to Greenwich.
  • [x] Add Spring Boot admin dashboard.
  • [x] Use Spring Cloud Gateway replaces zuul as service gateway.

Collaborators


Marveliu

Joby1230

wxaaaa

License

MIT © CoderQian

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