{"repo":"MartinDai/SpringBoot-Project","free":true,"listed":false,"github":"https://github.com/MartinDai/SpringBoot-Project","clone":"git clone https://github.com/MartinDai/SpringBoot-Project.git","description":"开箱即用的SpringBoot项目，整合了常规业务所需的框架功能，可自由组合各个模块","language":"Java","stars":45,"topics":["springboot","rocketmq","memcached","dubbo","redis","elasticsearch","springcloud","feign","netty","zookeeper"],"license":"MIT","category":"databases-storage","readme_excerpt":"SpringBoot-Project 一个整合了一些常用功能开箱即用的SpringBoot项目，模块划分清晰易懂，可按需自由组合各个模块运行。 涉及的重要框架和组件清单 - Consul - Druid - Dubbo - ElasticSearch - FastExcel - Feign - Grafana - Guava - Hutool - Hystrix - Knife4j - Leaf - Memcached - MyBatis - MyBatis-Plus - MySQL - Netty - OpenTelemetry-Java - Prometheus - Redis - Redisson - RocketMQ - RocketMQ-Spring - Seata - Sentinel - Sharding-Jdbc - SpringBoot - Springdoc-openapi - Swagger-ui - Xmemcached - ZooKeeper 提示 - 项目使用了lombok来简化Getter/Setter，所以需要安装lombok插件才能保证编译不报错 - 项目整合了Swagger，启动web模块后可以通过http://127.0.0.1:2019/doc.html查看 - 项目中用到的第三方组件，可以从 docker 目录和项目docker-compose-environment找到相关配置文件使用 docker-compose 命令一键启动 打包编译 模块介绍 springboot-cache 包含缓存相关的操作案例 - Memcached，整合Memcached-Java-Client和xmemcached两种客户端实现基本操作 - Redis，使用Redisson客户端，包含常规操作、分布式锁和布隆过滤器使用示例 springboot-common 包含一些通用的工具类等 springboot-common-web 通用web模块，封装服务于HTTP接口通用的一些类，所有需要对外提供HTTP服务的模块都会依赖此模块 springboot-dao 数据访问模块，基于MyBatis封装了包含User和UserLogin两个表的基本操作 SQL部分是基于sharding-jdbc分库分表写的，数据库表初始化文件为spring project 1.sql和spring project 2.sql 部分需要操作数据库的模块会依赖此模块 springboot-db-controller 依赖于springboot-dao，对外提供访问数据库相关操作的接口，主要是为了方便把dao做成可选的灵活组合，一般整合在web模块的 部分需要操作数据库的模块会依赖此模块 springboot-dubbo-api dubbo服务的api模块，dubbo-provider和dubbo-consumer会依赖此模块 springboot-dubbo-consumer dubbo服务消费者，内容包含 - 简单的dubbo服务调用示例 - 整合Hystrix熔断 - 整合Sentinel限流 - 自定义Filter统计服务调用耗时日志 springboot-dubbo-provider dubbo服务提供者，包含基于dubbo-api模块实现的dubbo服务，提供了两种协议（dubbo和rest） 可单独启动，入口为DubboApplication rest协议调用 springboot-elasticsearch 包含elasticsearch","default_branch":null,"files":null,"tree":[],"storefront":"/r/MartinDai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MartinDai/SpringBoot-Project/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}