Universal, flexible, high-performance distributed ID generator. | 通用、灵活、高性能的分布式 ID 生成器
FlowableIdGenerator
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/456
FlowableIdGeneratorAutoConfiguration
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/458
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.5.3...v2.5.5
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.5.2...v2.5.3
maxTime
to UPDATE_AFTER_OPTIONS
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/429
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.5.0...v2.5.2
Decorator
tag to ClockSyncCosIdGenerator
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/422
GET http://127.0.0.1:8080/actuator/cosid
{
"__share__": {
"kind": "StringSegmentId",
"actual": {
"kind": "SegmentChainId",
"fetchTime": 1692195877,
"maxId": 430,
"offset": 410,
"sequence": 410,
"step": 20,
"isExpired": false,
"isOverflow": false,
"isAvailable": true,
"converter": {
"kind": "Radix62IdConverter",
"radix": 62,
"charSize": 11,
"padStart": true,
"maxId": 9223372036854775807
}
},
"converter": {
"kind": "PrefixIdConverter",
"prefix": "COSID-",
"actual": {
"kind": "GroupedPrefixIdConverter",
"delimiter": "-",
"actual": {
"kind": "ToStringIdConverter",
"padStart": true,
"charSize": 8
}
}
}
}
}
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.4.0...v2.5.0
spring-data-jdbc
(@Id
/@CosId
) by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/406
class IdEntity {
@Id
private long id;
public long getId() {
return id;
}
public IdEntity setId(int id) {
this.id = id;
return this;
}
}
class CosIdEntity {
@CosId
private long id;
public long getId() {
return id;
}
public CosIdEntity setId(int id) {
this.id = id;
return this;
}
}
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.3.3...v2.4.0
cosid-proxy image registry:
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.3.2...v2.3.3
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.3.1...v2.3.2
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.3.0...v2.3.1
support
spring-boot-actuator
Statistical
SegmentIdStat
SnowflakeIdStat
CosIdEndpoint
CosIdGeneratorEndpoint
CosIdStringGeneratorEndpoint
management:
endpoints:
web:
exposure:
include:
- cosid
- cosidGenerator
- cosidStringGenerator
Full Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.2.6...v2.3.0
HostAddressSupplier
by @Ahoo-Wang in https://github.com/Ahoo-Wang/CosId/pull/389
org.springframework.cloud:spring-cloud-commons
dependency to optionalFull Changelog: https://github.com/Ahoo-Wang/CosId/compare/v2.2.5...v2.2.6