Code Monkey home page Code Monkey logo

microsvc's Introduction

miscrosvc

license

简介

microsvc To build micro-service with Latest version of Spring Cloud

由于Spring Cloud 2.X比1.X更新了很多地方。 比如弃用Eureka, 用Spring Cloud Consul代替它。 用Spring Cloud Gateway取代ZUUL。 (Netflix也在边缘化Hystrix等). 目前看到网上代码大多基于Spring Cloud 1.X。 我们需要紧跟Spring Cloud官方的步伐。于是,我启动 了servicesvc项目。


序号 module 功能
1 gateway 网关,基于Spring Cloud Gateway
2 mall-app 主应用程序
3 mall-service 服务,基于Spring Cloud Consul
4 spring-cloud-sleuth sleuth+zipkin 微服务调用链跟踪

测试程序

启动mall-app,mall-serice两个应用

访问浏览器来调用微服务http://localhost:27060/goods/list

这样会让mall-app去调用spring cloud服务mall-service

查看consul控制台和zipkin页面,监控调用效果

consul控制台 http://localhost:8500

zipkin控制台 http://localhost:9411/zipkin/

贡献代码

欢迎广大程序员加入开源软件的开发,无论你是一个小白,菜鸟,还是一个大佬,甚至大神。这里都 能找到,或者新建一个难易程度适合你的项目。

提高广大程序员的技术水平是我们开源的初衷和目的!

联系作者

联系方式
Leader liushaoming
email [email protected]
QQ 944147540

联系我们

加QQ群讨论

微信公众号

microsvc's People

Contributors

bootsrc avatar

Watchers

 avatar

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.