新增zookeeper-starter实现zookeeper分布式锁

This commit is contained in:
zlt2000
2021-04-03 23:08:42 +08:00
parent 3258ceced0
commit a6170ed6a6
12 changed files with 223 additions and 6 deletions
@@ -102,7 +102,7 @@ public interface CommonConstant {
String DEF_USER_PASSWORD = "123456";
String LOCK_KEY_PREFIX = "LOCK_KEY:";
String LOCK_KEY_PREFIX = "LOCK_KEY";
/**
* 租户id参数
@@ -126,4 +126,9 @@ public interface CommonConstant {
* 注册中心元数据 版本号
*/
String METADATA_VERSION = "version";
/**
* 文件分隔符
*/
String PATH_SPLIT = "/";
}