spring-boot-seckill秒杀系统
分布式秒杀系统
开发环境
JDK1.7、Maven、Mysql、Eclipse、SpringBoot1.5.10、zookeeper3.4.6、kafka_2.11、redis-2.8.4、curator-2.10.0
启动说明
- 启动前 请配置 application.properties 中相关redis、zk以及kafka相关地址,建议在Linux下安装使用。
- 数据库脚本位于 src/main/resource/sql 下面,启动前请自行导入。
-
配置完成,运行Application中的main方法,访问 http://localhost:8080/seckill/swagger-ui.html 进行API测试。
-
秒杀商品页:http://localhost:8080/seckill ,部分功能待完成。
-
本测试案例单纯为了学习,某些案例并不适用于生产环境,大家根据所需自行调整。
测试入口
http://localhost:8080/seckill/swagger-ui.html
项目截图
Git地址:https://gitee.com/52itstyle/spring-boot-seckill.git