# nacos-kingbase8-datasource-plugin-ext **Repository Path**: 8210/nacos-kingbase8-datasource-plugin-ext ## Basic Information - **Project Name**: nacos-kingbase8-datasource-plugin-ext - **Description**: 适配nacos2.4.3. 主体功能已适配并做充分测试。 kingbase 采用V9R1。 主要采用官方支持的Plugins的方式进行适配。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-27 - **Last Updated**: 2025-05-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # nacos-kingbase8-datasource-plugin-ext #### 介绍 适配nacos2.4.3. 主体功能已适配并做充分测试。 kingbase 采用V9R1。 主要采用官方支持的Plugins的方式进行适配。 #### 软件架构 软件架构说明 1.基于OPENJDK-18.0.2.其他版本未测试 2.适配nacos2.4.3.其他版本未测试。 #### 安装教程 1. 拉取代码 2. package。生成nacos-kingbase8-datasource-plugin-ext-2.4.3.jar 3. nacos项目根目录添加plugins目录。拷贝打包的JAR(nacos-kingbase8-datasource-plugin-ext-2.4.3.jar)到plugins目录 4.修改application.properties配置文件。 spring.datasource.platform=kingbase8 spring.sql.init.platform=kingbase8 ### Connect URL of DB: db.num=1 db.url.0=jdbc:kingbase8://*.*.*.*:54321/nacos?useUnicode=true&characterEncoding=utf8&useSSL=false db.user.0=****** db.password.0=******* spring.datasource.driver-class-name=com.kingbase8.Driver db.pool.config.driver-class-name=com.kingbase8.Driver spring.sql.init.mode=always spring.datasource.hikari.maximum-pool-size=20 spring.datasource.hikari.minimum-idle=2 spring.datasource.hikari.idle-timeout=30000 spring.datasource.hikari.pool-name=NacosHikariCP spring.datasource.hikari.max-lifetime=1800000 spring.datasource.hikari.connection-timeout=30000 spring.datasource.hikari.validation-timeout=5000 spring.datasource.hikari.driver-class-name=com.kingbase8.Driver 5.导入数据到Kingbase下。 ![输入图片说明](%E8%AF%B4%E6%98%8E%E5%9B%BE%E7%89%87kingbase-nacos.png) #### 使用说明 1. 启动nacos进行使用测试。 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)