All Projects → shunyang → spring-cloud-microservice-study

shunyang / spring-cloud-microservice-study

Licence: other
springcloud 学习与经典场景示例

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-cloud-microservice-study

spring-cloud-docker-study
Spring Cloud 与 Docker 整合使用示例,为《使用Spring Cloud与Docker实战微服务》的配套代码。书籍地址:https://github.com/eacdy/spring-cloud-book 。讨论QQ群:157525002(已满)、564840207,欢迎加入。
Stars: ✭ 42 (-41.67%)
Mutual labels:  spring-cloud
mica-auto
mica-auto 使用注解自动生成 java spi 和 Spring boot 的配置。🔝🔝 记得右上角点个star 关注更新!
Stars: ✭ 122 (+69.44%)
Mutual labels:  spring-cloud
sample-testing-microservices
sample applications with implementation of unit, component, contract and integrarion tests using pact, gatling, spring boot test and hoverfly
Stars: ✭ 22 (-69.44%)
Mutual labels:  spring-cloud
spring-cloud-aws
All development has moved to https://github.com/awspring/spring-cloud-aws Integration for Amazon Web Services APIs with Spring
Stars: ✭ 587 (+715.28%)
Mutual labels:  spring-cloud
java-microservice-experience
记录和总结在落地微服务的过程中的经验
Stars: ✭ 38 (-47.22%)
Mutual labels:  spring-cloud
easeagent
An agent component for the Java system
Stars: ✭ 437 (+506.94%)
Mutual labels:  spring-cloud
lua-resty-eureka-client
A Netflix Eureka client for OpenResty/ngx_lua
Stars: ✭ 18 (-75%)
Mutual labels:  spring-cloud
spring-cloud-examples
🎏 Personal learning use cases.
Stars: ✭ 33 (-54.17%)
Mutual labels:  spring-cloud
web-app
Angular 7 + Spring boot microservices + PostgreSQL
Stars: ✭ 26 (-63.89%)
Mutual labels:  spring-cloud
smile-monitor-starter
Microservice system monitoring
Stars: ✭ 49 (-31.94%)
Mutual labels:  spring-cloud
social-network
Microservices project
Stars: ✭ 39 (-45.83%)
Mutual labels:  spring-cloud
taotao-cloud-project
微服务开发脚手架,包括大数据模块、微服务模块、前端模块。基于Spring Cloud Alibaba的微服务架构。提供技术框架的基础能力的封装,减少开发工作,只关注业务,包含了工作以来的工作总结和技术沉淀
Stars: ✭ 76 (+5.56%)
Mutual labels:  spring-cloud
monthlyresources
Use this repository to explore the latest content and code samples. Each month we will release best of content resources that relate to a particular theme. - Microsoft Developer Editorial team
Stars: ✭ 198 (+175%)
Mutual labels:  spring-cloud
openshift-quickstart
Developer Workshops related to the Java development on OpenShift
Stars: ✭ 19 (-73.61%)
Mutual labels:  spring-cloud
Cloud-Native-App-Spring-Boot
A Cloud Native App with Spring Coud Security with KeyCloak Auth Server, API Gateway Server, Naming Server, Config Server and Distributed Tracing and ELK Stack hosted in K8s
Stars: ✭ 19 (-73.61%)
Mutual labels:  spring-cloud
spring-interview-questions
500+ Spring-Boot Interview Questions
Stars: ✭ 269 (+273.61%)
Mutual labels:  spring-cloud
CoSky
High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service | 高性能、低成本微服务治理平台
Stars: ✭ 57 (-20.83%)
Mutual labels:  spring-cloud
springboot-examples
SpringBoot、SpringCloud整合使用示例
Stars: ✭ 29 (-59.72%)
Mutual labels:  spring-cloud
spring-cloud-circuitbreaker-demo
Samples demonstrating how to using Spring Cloud Circuitbreaker
Stars: ✭ 43 (-40.28%)
Mutual labels:  spring-cloud
spring-cloud-dataflow-server-openshift
This project provides a Spring Cloud Data Flow server for deployments to OpenShift 3
Stars: ✭ 26 (-63.89%)
Mutual labels:  spring-cloud

项目简介

内容主要包含:

微服务角色 对应的技术选型
注册中心(Register Server) Eureka
服务提供者 spring mvc、spring-data-jpa、h2等
服务消费者 Ribbon/Feign消费服务提供者的接口
熔断器 Hystrix,包括Hystrix Dashboard以及Turbine
配置服务 Spring Cloud Config Server
API Gateway Zuul
admin 管理后台 spring boot admin
服务追踪 zipkin,spring cloud sleuth,rabbitmq,elasticsearch

准备

环境准备:

工具 版本或描述
JDK 1.8
IDE IntelliJ IDEA
Maven 3.x

主机名配置:

主机名配置(/etc/hosts文件)
127.0.0.1 discovery config-server gateway movie user feign ribbon

主机规划:

项目名称 端口 描述 URL
microservice-api-gateway 8070 API Gateway 详见文章
microservice-config-client 8041 配置服务的客户端 详见文章
microservice-config-server 8040 配置服务 详见文章
microservice-config-client-eureka 8051 注册中心、配置服务结合的客户端 详见文章
microservice-config-server-eureka 8050 注册中心、配置服务结合服务 详见文章
microservice-consumer-movie-feign 8020 Feign Demo /feign/1
microservice-consumer-movie-feign-with-hystrix 8021 Feign Hystrix Demo /feign/1
microservice-consumer-movie-feign-with-hystrix-stream 8022 Hystrix Dashboard Demo /feign/1
microservice-consumer-movie-ribbon 8010 Ribbon Demo /ribbon/1
microservice-consumer-movie-ribbon-with-hystrix 8011 Ribbon Hystrix Demo /ribbon/1
microservice-discovery-eureka 8761 注册中心 /
microservice-hystrix-dashboard 8030 hystrix监控 /hystrix.stream
microservice-hystrix-turbine 8031 turbine /turbine.stream
microservice-provider-user 8000 服务提供者 /1
microservice-admin 11007 微服务管理后台 http://localhost:11007
microservice-zipkin-server 11008 跟踪服务服务端 http://localhost:11008
microservice-zipkin-client 11009 跟踪服务客户端 http://localhost:11009/call/1
microservice-zipkin-client-backend 11010 跟踪服务客户端被调用方 /
microservice-zipkin-stream-server 11020 以mq形式传递的跟踪服务服务端 http://localhost:11020
microservice-zipkin-stream-client 11021 以mq形式传递的跟踪服务客户端 http://localhost:11021/call/1
microservice-zipkin-stream-client-backend 11022 以mq形式传递的跟踪服务客户端被调用方 /
microservice-zipkin-stream-server-es 11030 以mq形式传递,es存储的跟踪服务服务端 http://localhost:11030
microservice-zipkin-stream-client-es 11031 以mq形式传递,es存储的跟踪服务客户端 http://localhost:11031/call/1
microservice-zipkin-stream-client-backend-es 11032 以mq形式传递,es存储的跟踪服务客户端被调用方 /

相关文档:

简书:http://www.jianshu.com/u/331c21a4899d

后记

本文参考:http://git.oschina.net/didispace/SpringCloudBook 做了admin以及zipkin等方面的扩展

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