diff --git a/kenaito-conf-lua-client/README.md b/kenaito-conf-lua-client/README.md index 83935fd..0794f97 100644 --- a/kenaito-conf-lua-client/README.md +++ b/kenaito-conf-lua-client/README.md @@ -4,6 +4,13 @@ Lua 客户端 SDK,适用于 Lua 5.1+ 项目。 +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持配置变更回调监听 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ### 使用 LuaRocks(推荐) diff --git a/kenaito-conf-lua-client/README_EN.md b/kenaito-conf-lua-client/README_EN.md index d4dfd41..c7f5d64 100644 --- a/kenaito-conf-lua-client/README_EN.md +++ b/kenaito-conf-lua-client/README_EN.md @@ -2,6 +2,13 @@ Lua client SDK for the Kenaito Config Center, suitable for Lua 5.1+ projects. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Config change callback listener +- Local file cache (fallback when config center is unavailable) + ## Installation ### Using LuaRocks (Recommended) diff --git a/kenaito-conf-nodejs-client/README.md b/kenaito-conf-nodejs-client/README.md index 5d1886c..de1df7f 100644 --- a/kenaito-conf-nodejs-client/README.md +++ b/kenaito-conf-nodejs-client/README.md @@ -2,6 +2,15 @@ [English](README_EN.md) | 中文 +Node.js 客户端 SDK,适用于 Node.js 18+ 项目。 + +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持配置变更回调监听 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ### 安装到本地仓库(推荐) diff --git a/kenaito-conf-nodejs-client/README_EN.md b/kenaito-conf-nodejs-client/README_EN.md index 75475c3..7a7b029 100644 --- a/kenaito-conf-nodejs-client/README_EN.md +++ b/kenaito-conf-nodejs-client/README_EN.md @@ -2,6 +2,13 @@ Node.js client SDK for the Kenaito Config Center. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Config change callback listener +- Local file cache (fallback when config center is unavailable) + ## Installation ### Install to Local Repository (Recommended) diff --git a/kenaito-conf-perl-client/README.md b/kenaito-conf-perl-client/README.md index 4205efd..6734a36 100644 --- a/kenaito-conf-perl-client/README.md +++ b/kenaito-conf-perl-client/README.md @@ -4,6 +4,13 @@ Perl 客户端 SDK,适用于 Perl 5.16+ 项目。 +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持配置变更回调监听 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ### 从本地安装 diff --git a/kenaito-conf-perl-client/README_EN.md b/kenaito-conf-perl-client/README_EN.md index 5861c03..44f10c1 100644 --- a/kenaito-conf-perl-client/README_EN.md +++ b/kenaito-conf-perl-client/README_EN.md @@ -2,6 +2,13 @@ Perl client SDK for the Kenaito Config Center, suitable for Perl 5.16+ projects. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Config change callback listener +- Local file cache (fallback when config center is unavailable) + ## Installation ### Install from Local diff --git a/kenaito-conf-php-client/README.md b/kenaito-conf-php-client/README.md index 1c3d306..00638ac 100644 --- a/kenaito-conf-php-client/README.md +++ b/kenaito-conf-php-client/README.md @@ -4,6 +4,13 @@ PHP 客户端 SDK,适用于 PHP 7.4+ 项目。 +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持配置变更回调监听 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ### 使用 Composer(推荐) diff --git a/kenaito-conf-php-client/README_EN.md b/kenaito-conf-php-client/README_EN.md index 444778e..ce185ca 100644 --- a/kenaito-conf-php-client/README_EN.md +++ b/kenaito-conf-php-client/README_EN.md @@ -2,6 +2,13 @@ PHP client SDK for the Kenaito Config Center, suitable for PHP 7.4+ projects. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Config change callback listener +- Local file cache (fallback when config center is unavailable) + ## Installation ### Using Composer (Recommended) diff --git a/kenaito-conf-python-client/README.md b/kenaito-conf-python-client/README.md index f33d30d..9e72cfd 100644 --- a/kenaito-conf-python-client/README.md +++ b/kenaito-conf-python-client/README.md @@ -2,6 +2,15 @@ [English](README_EN.md) | 中文 +Python 客户端 SDK,适用于 Python 3.10+ 项目。 + +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持配置变更回调监听 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ```bash diff --git a/kenaito-conf-python-client/README_EN.md b/kenaito-conf-python-client/README_EN.md index fc46562..7645e07 100644 --- a/kenaito-conf-python-client/README_EN.md +++ b/kenaito-conf-python-client/README_EN.md @@ -2,6 +2,13 @@ Python client SDK for the Kenaito Config Center. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Config change callback listener +- Local file cache (fallback when config center is unavailable) + ## Installation ```bash diff --git a/kenaito-conf-springboot2-client/README.md b/kenaito-conf-springboot2-client/README.md index 6b765f4..1bc1684 100644 --- a/kenaito-conf-springboot2-client/README.md +++ b/kenaito-conf-springboot2-client/README.md @@ -4,6 +4,13 @@ 适用于 Spring Boot 2.x 应用的配置中心客户端,支持配置自动刷新和 `@Value` 注解动态更新。 +## 功能特性 + +- 从配置中心拉取应用配置 +- 定时同步配置变更 +- 支持 `@Value` 注解动态刷新 +- 本地文件缓存(配置中心不可用时降级) + ## 安装 ### Maven 依赖 @@ -158,6 +165,7 @@ Demo 默认配置: 2. **配置优先级**:远程配置 > 本地配置 > 默认值 3. **日志脱敏**:包含敏感键的配置在日志中会自动脱敏(显示前一半 + `****`) 4. **网络异常**:同步失败时会记录错误日志,不影响应用正常运行 +5. **本地容灾**:客户端会在本地缓存目录下创建 `config-cache.log` 文件,当配置中心不可用时自动从缓存加载配置 ## 版本历史 diff --git a/kenaito-conf-springboot2-client/README_EN.md b/kenaito-conf-springboot2-client/README_EN.md index b43592e..4ff3c70 100644 --- a/kenaito-conf-springboot2-client/README_EN.md +++ b/kenaito-conf-springboot2-client/README_EN.md @@ -2,6 +2,13 @@ Config center client for Spring Boot 2.x applications, supporting automatic config refresh and dynamic `@Value` annotation updates. +## Features + +- Fetch application configs from the config center +- Periodic config sync +- Automatic `@Value` annotation refresh +- Local file cache (fallback when config center is unavailable) + ## Installation ### Maven Dependency @@ -156,6 +163,7 @@ Visit `http://localhost:8083/config` to view current configs. 2. **Config Priority**: Remote config > Local config > Default value 3. **Log Masking**: Configs containing sensitive keys are automatically masked in logs (first half + `****`) 4. **Network Errors**: Sync failures are logged as errors without affecting normal application operation +5. **Local Fallback**: The client creates a `config-cache.log` file in the local cache directory, automatically loading configs from cache when the config center is unavailable ## Changelog