# lock-spring-boot-starter **Repository Path**: warrior701/lock-spring-boot-starter ## Basic Information - **Project Name**: lock-spring-boot-starter - **Description**: 基 于 redis 与 zookeeper 的 分 布 式 锁 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-28 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 工程简介
点击链接加入群聊【Pear Stack】讨论交流:[293972109](https://jq.qq.com/?_wv=1027&k=lw2E7QlX)
国内镜像: 【Gitee】:[lock-spring-boot-starter](https://gitee.com/pear-stack/lock-spring-boot-starter)
1. 简单描述
`lock-spring-boot-starter` 一款分布式锁, 支持使用 `Redis` 和 `ZooKeeper`, 开箱即用, 快捷方便
2. 特点
1. `spring-boot-starter`组件开箱即用, 快捷方便
2. 支持`自定义key`, 以及`spring el`表达式
3. 将生成key的方法和上锁失败的异常方法作为接口, 可以自定义实现层, 更加自由
3. [依赖版本](https://github.com/pearstack/lock-spring-boot-starter/network/dependencies)
| 框架名称 | 版本号 | 官网 |
| :---------------------------------: | :-----: | :------------------------------------: |
| spring-boot-starter-aop | 2.6.2 | https://spring.io/projects/spring-boot |
| spring-boot-starter-validation | 2.6.2 | https://spring.io/projects/spring-boot |
| spring-integration-redis | 2.6.2 | https://spring.io/projects/spring-boot |
| spring-boot-starter-data-redis | 2.6.2 | https://spring.io/projects/spring-boot |
| redisson-spring-boot-starter | 3.16.7 | http://redisson.org |
| spring-integration-zookeeper | 2.6.2 | https://spring.io/projects/spring-boot |
| spring-boot-configuration-processor | 2.6.2 | https://spring.io/projects/spring-boot |
| hutool-core | 5.7.17 | https://github.com/dromara/hutool |
| lombok | 1.18.22 | https://projectlombok.org |
## 安装
1. Redisson 模式 
1. Apache Maven
```xml