New feature
- add
IdSegmentDistributorFactory
to support flexible replacement of IdSegmentDistributor
.
- add
ZookeeperIdSegmentDistributorFactory
.
- add
ZookeeperMachineIdDistributor
to support machine id distribute based on ZooKeeper. #10
- add
CosIdZookeeperSegmentAutoConfiguration
(cosid-spring-boot-starter).
cosid:
segment:
distributor:
type: zookeeper
- add
CosIdZookeeperMachineIdDistributorAutoConfiguration
(cosid-spring-boot-starter).
cosid:
snowflake:
machine:
distributor:
type: zookeeper
Refactor
- add
JdbcIdSegmentDistributorFactory
to adapt to IdSegmentDistributorFactory
.
- add
RedisIdSegmentDistributorFactory
to adapt to IdSegmentDistributorFactory
.
- add
SpringRedisIdSegmentDistributorFactory
to adapt to IdSegmentDistributorFactory
.
- refactor
CosIdJdbcSegmentAutoConfiguration
to adapt to IdSegmentDistributorFactory
to reduce code redundancy.
- refactor
CosIdSegmentAutoConfiguration
to adapt to IdSegmentDistributorFactory
to reduce code redundancy.
- refactor
CosIdSpringRedisSegmentAutoConfiguration
to adapt to IdSegmentDistributorFactory
to reduce code redundancy.
- refactor
CosIdRedisSegmentAutoConfiguration
to adapt to IdSegmentDistributorFactory
to reduce code redundancy.
新特性
- 新增
IdSegmentDistributorFactory
以支持灵活替换 IdSegmentDistributor
。
- 新增
ZookeeperIdSegmentDistributorFactory
。
- 新增
ZookeeperMachineIdDistributor
以支持基于ZooKeeper的机器号分配。#10
- 新增
CosIdZookeeperSegmentAutoConfiguration
(cosid-spring-boot-starter)。
cosid:
segment:
distributor:
type: zookeeper
- 新增
CosIdZookeeperMachineIdDistributorAutoConfiguration
(cosid-spring-boot-starter)。
cosid:
snowflake:
machine:
distributor:
type: zookeeper
重构
- 新增
JdbcIdSegmentDistributorFactory
适配 IdSegmentDistributorFactory
。
- 新增
RedisIdSegmentDistributorFactory
适配 IdSegmentDistributorFactory
。
- 新增
SpringRedisIdSegmentDistributorFactory
适配 IdSegmentDistributorFactory
。
- 重构
CosIdJdbcSegmentAutoConfiguration
适配 IdSegmentDistributorFactory
降低代码冗余。
- 重构
CosIdSegmentAutoConfiguration
适配 IdSegmentDistributorFactory
降低代码冗余。
- 重构
CosIdSpringRedisSegmentAutoConfiguration
适配 IdSegmentDistributorFactory
降低代码冗余。
- 重构
CosIdRedisSegmentAutoConfiguration
适配 IdSegmentDistributorFactory
降低代码冗余。