Giter Site home page Giter Site logo

xncssj / 7d-mall-microservice Goto Github PK

View Code? Open in Web Editor NEW
41.0 3.0 34.0 616 KB

7d电商微服务-极客时间「高楼的性能工程实战课」专栏项目

License: Apache License 2.0

Dockerfile 0.29% Java 99.71% Shell 0.01%
spring-cloud redis elasticsearch springboot rabbitmq

7d-mall-microservice's Introduction

7d-mall

背景说明

极客时间「高楼的性能工程实战课」专栏项目

课程地址:https://time.geekbang.org/column/intro/100074001?tab=intro

全链路压测实战 30 讲

高楼的性能工程实战课

性能测试实战 30 讲

项目介绍

7d-mall-microservice 是一套微服务电商,其是在开源电商项目 mall-swarm 上进行了改造,采用了 Spring Cloud Hoxton & Alibaba、Spring Boot 2.3、Oauth2、MyBatis、Docker、k8s、Elasticsearch 等核心技术。 7d-mall-microservice在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。。

组织结构

7d-mall
├── mall-common  -- 工具类及通用代码模块
├── mall-mbg     -- MyBatisGenerator生成的数据库操作代码模块
├── mall-auth    -- 基于Spring Security Oauth2的统一的认证中心
├── mall-gateway -- 基于Spring Cloud Gateway的微服务API网关服务
├── mall-monitor -- 基于Spring Boot Admin的微服务监控中心
├── mall-member  -- 会员系统服务
├── mall-order   -- 订单系统服务
├── mall-cart    -- 购物车系统服务
├── mall-admin   -- 后台管理系统服务
├── mall-search  -- 基于Elasticsearch的商品搜索系统服务
├── mall-portal  -- 商城后台系统服务
├── mall-demo    -- 微服务远程调用测试服务
└── config       -- 配置中心存储的配置

系统技术栈

技术 说明 官网
Spring Cloud 微服务框架 https://spring.io/projects/spring-cloud
Spring Cloud Alibaba 微服务框架 https://github.com/alibaba/spring-cloud-alibaba
Spring Boot 容器+MVC框架 https://spring.io/projects/spring-boot
Spring Security Oauth2 认证和授权框架 https://spring.io/projects/spring-security-oauth
MyBatis ORM框架 http://www.mybatis.org/mybatis-3/zh/index.html
MyBatisGenerator 数据层代码生成 http://www.mybatis.org/generator/index.html
PageHelper MyBatis物理分页插件 http://git.oschina.net/free/Mybatis_PageHelper
Knife4j 文档生产工具 https://github.com/xiaoymin/swagger-bootstrap-ui
Elasticsearch 搜索引擎 https://github.com/elastic/elasticsearch
RabbitMq 消息队列 https://www.rabbitmq.com/
Redis 分布式缓存 https://redis.io/
MongoDb NoSql数据库 https://www.mongodb.com/
Docker 应用容器引擎 https://www.docker.com/
Druid 数据库连接池 https://github.com/alibaba/druid
OSS 对象存储 https://github.com/aliyun/aliyun-oss-java-sdk
MinIO 对象存储 https://github.com/minio/minio
JWT JWT登录支持 https://github.com/jwtk/jjwt
LogStash 日志收集 https://github.com/logstash/logstash-logback-encoder
Lombok 简化对象封装工具 https://github.com/rzwitserloot/lombok
Seata 全局事务管理框架 https://github.com/seata/seata
Kubernetes 应用容器管理平台 https://kubernetes.io/
Sentinel 服务保护 https://sentinelguard.io/zh-cn/
SkyWalking 分布式追踪、服务网格遥测分析、度量聚合和可视化一体化解决方案 http://skywalking.apache.org

系统架构

在这里插入图片描述

部署架构

部署架构图

公众号

电商项目全套学习教程连载中,关注公众号「7DGroup」第一时间获取。

公众号图片

许可证

Apache License 2.0

Copyright (c) 2020-2022 7DGroup

7d-mall-microservice's People

Contributors

357712148 avatar zuozewei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

7d-mall-microservice's Issues

mall-member编译失败

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for 7d-mall-microservice 1.0-SNAPSHOT:
[INFO] 
[INFO] 7d-mall-microservice ............................... SUCCESS [  0.005 s]
[INFO] mall-common ........................................ SUCCESS [ 19.262 s]
[INFO] mall-mbg ........................................... SUCCESS [ 13.258 s]
[INFO] mall-demo .......................................... SUCCESS [01:10 min]
[INFO] mall-order ......................................... SUCCESS [ 30.823 s]
[INFO] mall-admin ......................................... SUCCESS [ 26.868 s]
[INFO] mall-search ........................................ SUCCESS [ 29.078 s]
[INFO] mall-portal ........................................ SUCCESS [ 26.702 s]
[INFO] mall-monitor ....................................... SUCCESS [ 21.082 s]
[INFO] mall-gateway ....................................... SUCCESS [ 25.642 s]
[INFO] mall-auth .......................................... SUCCESS [ 25.090 s]
[INFO] mall-cart .......................................... SUCCESS [ 23.962 s]
[INFO] mall-member ........................................ FAILURE [  5.385 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:19 min
[INFO] Finished at: 2022-04-15T12:04:15+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project mall-member: Compilation failure: Compilation failure: 
[ERROR] /home/cyadmin/tmp/7d-mall-microservice/mall-member/src/main/java/com/dunshan/mall/member/service/imp/MemberCollectionServiceImpl.java:[44,72] incompatible types: possible lossy conversion from long to int
[ERROR] /home/cyadmin/tmp/7d-mall-microservice/mall-member/src/main/java/com/dunshan/mall/member/service/imp/MemberAttentionServiceImpl.java:[48,73] incompatible types: possible lossy conversion from long to int
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :mall-member

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.