Giter Site home page Giter Site logo

micro-service-cloud's Introduction

该项目是个适合新手学习项目,springboot 用的2.0.9 springcloud 用的Finchley版本 有一个服务提供者userservice 一个服务消费者userconsumer 有了注册中心 网关 feign 以及spring cloud config 和hystrix -------以下启动顺序过时-------

服务启动顺序建议是

1 service discovery 注册中心

2 服务提供者 userservice

3 服务消费者 user consumer

4 hystrix-dashboard 仪表盘

5 zuulservice 网关

6 configserver 配置中心(待完成)

------------------------分割线----------------------------------------

6月13号加入了spring-cloud-config

所以启动顺序需要改变一下了

1 service discovery 注册中心

2 configserver 配置中心

----------6.20更新-------- 把服务提供消费和服务提供从spring config 剥离了 准备用apollo 使用者可以先不启动spring config 服务

3 服务提供者 userservice

4 服务消费者 user consumer

5 hystrix-dashboard 仪表盘

6 zuulservice 网关

之所以要先启动配置中心是因为配置都通过config server发起来读取git仓库配置

配置我放在配置中心git地址

然后浏览器打开注册中心 即可看见你的服务列表 注册中心 服务提供接口 服务消费接口 网关映射后消费接口地址 网关映射后提供者接口地址 hystrix仪表盘地址

学习有疑问可以发起issues

开始吧!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.