SnowFlakeWithZK:分布式自增ID发号器 SnowFlake with Zookeeper in Kotlin

时间:2021-05-11 14:01:43
【文件属性】:
文件名称:SnowFlakeWithZK:分布式自增ID发号器 SnowFlake with Zookeeper in Kotlin
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-11 14:01:43
snowflake zookeeper Kotlin SnowFlakeWithZK SnowFlake with Zookeeper in Kotlin 使用Zookeeper管理SnowFlake集群的workId 安装 下载并解压 进入解压目录并执行 ./SnowFlakeWithZK.jar start API GET http(s)://[host]:[port]/api/next/long 以长整型返回 GET http(s)://[host]:[port]/api/next/hex 以十六进制返回 GET http(s)://[host]:[port]/api/next/bin 以二进制返回 GET http(s)://[host]:[port]/api/parse/long/{id} 解析长整型id GET http(s)://[host]:[port]/api/parse/hex/{id} 解
【文件预览】:
SnowFlakeWithZK-master
----gradlew.bat(2KB)
----gradlew(5KB)
----LICENSE(11KB)
----gradle()
--------wrapper()
----src()
--------main()
----.gitignore(323B)
----README.md(2KB)
----settings.gradle(37B)
----springboot.conf(163B)
----build.gradle(3KB)

网友评论