Skip to content

Commit

Permalink
optimize: use curator instead of zkclient in registry model (#6831)
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan authored Sep 12, 2024
1 parent be01fb0 commit c0f7b82
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 82 deletions.
1 change: 1 addition & 0 deletions changes/en-us/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6827](https://github.com/apache/incubator-seata/pull/6827)] rename namingserver registry type
- [[#6836](https://github.com/apache/incubator-seata/pull/6836)] add independent nacos for the CI process
- [[#6779](https://github.com/apache/incubator-seata/pull/6779)] use curator instead of zkclient in config model
- [[#6831](https://github.com/apache/incubator-seata/pull/6831)] use curator instead of zkclient in registry model


### refactor:
Expand Down
2 changes: 2 additions & 0 deletions changes/zh-cn/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
- [[#6827](https://github.com/apache/incubator-seata/pull/6827)] 重命名namingserver注册类型改为seata
- [[#6836](https://github.com/apache/incubator-seata/pull/6836)] 为CI流程增加独立nacos
- [[#6779](https://github.com/apache/incubator-seata/pull/6779)] 在config模块中使用curator替代zkclient
- [[#6831](https://github.com/apache/incubator-seata/pull/6831)] 在registry模块中使用curator替代zkclient


### refactor:

Expand Down
14 changes: 6 additions & 8 deletions discovery/seata-discovery-zk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
<exclusions>
<exclusion>
<artifactId>log4j</artifactId>
<groupId>log4j</groupId>
</exclusion>
</exclusions>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
Expand Down
Loading

0 comments on commit c0f7b82

Please sign in to comment.