Skip to content

Commit

Permalink
add distributed-uid
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyuanlu authored and shiyindaxiaojie committed Nov 21, 2023
1 parent 649ae61 commit 72996e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 6 additions & 0 deletions eden-demo-cola-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
<dependency>
<groupId>io.github.shiyindaxiaojie</groupId>
<artifactId>eden-shardingsphere-spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<artifactId>curator-client</artifactId>
<groupId>org.apache.curator</groupId>
</exclusion>
</exclusions>
</dependency>

<!-- 缓存组件 -->
Expand Down
6 changes: 0 additions & 6 deletions eden-demo-cola-start/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@
<dependency>
<groupId>io.github.shiyindaxiaojie.eden.demo</groupId>
<artifactId>eden-demo-cola-adapter</artifactId>
<exclusions>
<exclusion>
<artifactId>curator-client</artifactId>
<groupId>org.apache.curator</groupId>
</exclusion>
</exclusions>
</dependency>

<!-- 开发组件 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ mybatis-plus: # ORM 组件
use-column-label: true
type-aliases-package: org.ylzl.eden.demo.infrastructure
id-generator:
type: segment # 号段生成
type: segment # 号段生成(snowflake/segment)

distributed-uid:
distributed-uid: # 分布式ID生成器
snowflake-generator:
enabled: false
coordinator:
type: zookeeper
zookeeper:
connect-string: lolalhost:2181
connect-string: localhost:2181
segment-generator:
enabled: true
liquibase:
Expand Down Expand Up @@ -264,7 +264,7 @@ xxl: # 分布式调度平台
cat: # 实时监控平台
enabled: false # 默认关闭,请按需开启

opentracing: # Jaeger
opentracing: # 开放式链路跟踪规范
jaeger:
service-name: ${spring.application.name}
enabled: false
Expand Down

0 comments on commit 72996e9

Please sign in to comment.