Git Product home page Git Product logo

springcloud-gateway-nacos's Introduction

快速开始,本项目是一个微服务脚手架工程,为了方便大家可以快速入手开发功能而建立的

1、先觉条件

  1. # git
  2. # java8
  3. # mysql 8.0
  4. # redis 5.0+
  5. # elasticsearch 7.8.0
  6. # kafka_2.11-2.5.0
  7. # nacos 1.3.2
  8. # seata 1.3.0

注:项目所有配置参数全部由nacos管理,保证了项目参数的保密性,如有需要动态变更的,可以在项目中采用@RefreshScope来达到实时刷新

2、项目结构

  1. #1、主项目 pom 文件
  2. #2、springcloud-gateway-nacos 网关服务
  3. ├── com.deng.gateway
  4. ├──controller --控制类
  5. ├──entity --实体类
  6. ├──route --网关路由的配置
  7. ├──uitls --网关项目工具包
  8. └── pom.xml --子项目 maven 配置文件
  9. #3、order 测试服务
  10. ├──springcloud-order-biz-service ---服务子项目
  11. ├──springcloud-order-client ---接口子项目,比如feignclient 接口对外暴露
  12. ├──springcloud-order-common ---公共子项目
  13. ├──springcloud-order-dao ---持久层子项目
  14. ├──springcloud-order-integration ---集成配置子项目
  15. ├──springcloud-order-web ---控制层子项目
  16. ├──springcloud-order-start ---开启入口子项目
  17. └──order服务pom文件
  18. #4、nacos_config.zip nacos配置文件

3、目前集成的功能

  1. #1、springcloud
  2. #2、mybatis plus
  3. #3、redis
  4. #4、elasticsearch
  5. #5、kafka
  6. #6、nacos gateway动态路由,实时刷新
  7. #7、alibaba sentinel feignclient,dubbo的支持
  8. #8、gateway ribbon负载均衡的开启,url白名单实时刷新,nacos后台可以调整权重,可以试验同时开启项目中的两个start
  9. #9、feignclient
  10. #10、dubbo
  11. #11、mybatisplus 代码生成器----start子项目执行类
  12. #12、统一异常处理
  13. #13、自定义注解---操作日志收集
  14. #14、分布式事务seata的支持
  15. #15、分布式跟踪sleuth的支持

springcloud-gateway-nacos's People

Contributors

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