GithubHelp home page GithubHelp logo

ordinary-cloud's Introduction

https://img.shields.io/badge/license-Apache%202.0-blue.svg?longCache=true&style=flat-squarehttps://img.shields.io/badge/SpringCloudAlibaba-2.1.1.RELEASE-blueviolet.svg?style=flat-squarehttps://img.shields.io/badge/springboot-2.2.1.RELEASE-brightgreen.svg?style=flat-square

项目介绍

1,SpringBoot + SpringCloud搭建的一个完整分布式框架。
2,项目有完整的业务逻辑体系,不掺杂其它无用代码,可以直接clone运用到实际项目中。
3,项目实现SpringCloud常用组件,分布式事务,分布式锁等一些很普遍的功能。做到开箱即用的特点。

项目结构介绍

1,api子模块:分离接口,把业务调用接口分离出来。
2,common子模块:公用模块,里面可以添加公用的类。
3,entity子模块:实体类。
4,tm子模块:txlcn分布式事务管理控制台。
5,eureka子模块:服务注册与发现。
6,config子模块:SpringCloud-Config服务。
7,turbine子模块:服务监控。
8,zuul子模块:网关。
9,commodity子模块:商品服务。
10,user子模块:用户服务。
11,order子模块:订单服务。

说明

1,JDK使用的是11,idea自带JDK。如果你用的是2019版本之上的idea,可以直接clone就能跑项目了。
2,SpringBoot使用的2.2.2.RELEASE(目前最新版)。
3,分布式事务使用txlcn框架实现。
4,分布式锁使用Redisson框架实现。(注:本项目使用的是哨兵模式。)
5,数据库最好使用5.6及以上版本。

能用到的链接

1,eureka可视化界面 http://localhost:8761
2,zuul路由信息 http://localhost:8020/actuator/routes
3,hystrix仪表盘 http://localhost:8010/hystrix
4,turbine监控集群(这个是配置过的) http://localhost:8010/turbine.stream?cluster=default
5,turbine监控信息 http://localhost:8010/clusters
5,hystrix本地服务监控 http://localhost:9010/actuator/hystrix.stream
6,config手动刷新 http://localhost:9010/actuator/refresh

打赏作者

Image text

作者微信 z967882

ordinary-cloud's People

Stargazers

 avatar

Watchers

James Cloos avatar  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.