Universal, flexible, high-performance distributed ID generator. | 通用、灵活、高性能的分布式 ID 生成器
APACHE-2.0 License
Bot releases are hidden (Show)
Published by Ahoo-Wang about 1 month ago
maxMachine
to maxMachineId
. by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/629
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.6...v2.9.8
UPDATE_UPSERT_AFTER_OPTIONS
with ensureIdSegment
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/619
ensureIdSegment
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/620
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.5...v2.9.6
Published by Ahoo-Wang 2 months ago
CacheClock
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/616
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.4...v2.9.5
Published by Ahoo-Wang 2 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.3...v2.9.4
Published by Ahoo-Wang 3 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.2...v2.9.3
Published by Ahoo-Wang 3 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.1...v2.9.2
Published by Ahoo-Wang 3 months ago
record
to improve JAVA8 compatibility by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/593
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.9.0...v2.9.1
Published by Ahoo-Wang 3 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v1.19.3...v1.20.0
Published by Ahoo-Wang 4 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.8.3...v2.9.0
Published by Ahoo-Wang 4 months ago
DatePrefixIdConverter
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/582
DatePrefix
for auto config. by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/583
DatePrefix
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/584
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.8.2...v2.8.3
Published by Ahoo-Wang 4 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.8.1...v2.8.2
Published by Ahoo-Wang 5 months ago
GroupedKey
for SegmentIdStat
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/567
YearMonthDayGroupBySupplier
使用 SegmentId 算法,要求输出的ID字符串:
0
<prefix><year_month_day><sequence>
BIZ-240516-00000001
cosid:
segment:
enabled: true
distributor:
type: redis
provider:
group_year_month_day_biz:
group:
by: year_month_day
pattern: yyMMdd
converter:
type: to_string
to-string:
pad-start: true
char-size: 8
prefix: BIZ-
group-prefix:
enabled: true
配置信息:
{
"group_year_month_day_biz": {
"kind": "StringSegmentId",
"actual": {
"kind": "SegmentChainId",
"fetchTime": 1715911765,
"maxId": 280,
"offset": 260,
"sequence": 260,
"step": 20,
"isExpired": false,
"isOverflow": false,
"isAvailable": true,
"groupedKey": {
"key": "240517",
"ttlAt": 1715961599
},
"converter": {
"kind": "Radix62IdConverter",
"radix": 62,
"charSize": 11,
"padStart": true,
"maxId": 9223372036854776000
}
},
"converter": {
"kind": "PrefixIdConverter",
"prefix": "BIZ-",
"actual": {
"kind": "GroupedPrefixIdConverter",
"delimiter": "-",
"actual": {
"kind": "ToStringIdConverter",
"padStart": true,
"charSize": 8
}
}
}
}
}
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.8.0...v2.8.1
Published by Ahoo-Wang 5 months ago
YearGroupBySupplier
/ YearMonthGroupBySupplier
/ YearMonthDayGroupBySupplier
. by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/563
DateGroupBySupplier
example config. by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/564
YearGroupBySupplier
使用 SegmentId 算法,要求输出的ID字符串:
0
<prefix><year><sequence>
BIZ-2024-00000231
cosid:
segment:
enabled: true
distributor:
type: redis
provider:
group_year_biz:
group:
by: year
pattern: yyyy
converter:
type: to_string
to-string:
pad-start: true
char-size: 8
prefix: BIZ-
group-prefix:
enabled: true
YearMonthGroupBySupplier
使用 SegmentId 算法,要求输出的ID字符串:
0
<prefix><year_month><sequence>
BIZ-240516-00000061
cosid:
segment:
enabled: true
distributor:
type: redis
provider:
group_year_month_biz:
group:
by: year_month
pattern: yyyyMM
converter:
type: to_string
to-string:
pad-start: true
char-size: 8
prefix: BIZ-
group-prefix:
enabled: true
YearMonthDayGroupBySupplier
使用 SegmentId 算法,要求输出的ID字符串:
0
<prefix><year_month_day><sequence>
BIZ-240516-00000001
cosid:
segment:
enabled: true
distributor:
type: redis
provider:
group_year_month_day_biz:
group:
by: year_month_day
pattern: yyMMdd
converter:
type: to_string
to-string:
pad-start: true
char-size: 8
prefix: BIZ-
group-prefix:
enabled: true
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.9...v2.8.0
Published by Ahoo-Wang 5 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.8...v2.6.9
Published by Ahoo-Wang 7 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.6...v2.6.8
Published by Ahoo-Wang 8 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.5...v2.6.6
Published by Ahoo-Wang 9 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.4...v2.6.5
Published by Ahoo-Wang 10 months ago
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.2...v2.6.4
Published by Ahoo-Wang 11 months ago
ModSpec
to support Modulo sharding algorithm uniformity testing by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/497
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.6.0...v2.6.2
Published by Ahoo-Wang 11 months ago
Retry Test
in CI by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/486
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.5.6...v2.6.0