Skip to content

Commit 6aaf2bf

Browse files
committed
docs: upgrade doc with http-facade
Signed-off-by: moxiaoying <[email protected]>
1 parent c2f29a8 commit 6aaf2bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OpenGemini is a cloud-native distributed time series database, find more informa
1616

1717
## Prerequisites
1818

19-
Compiling this project requires at least OpenJDK 17, and Maven 3.8.0 or later.
19+
Compiling this project requires at least OpenJDK 8, and Maven 3.8.0 or later.
2020

2121
## Integration
2222

@@ -46,7 +46,7 @@ docker run -p 8086:8086 --name opengemini --rm opengeminidb/opengemini-server
4646

4747
### HTTP Engine Selection
4848

49-
By default, the client uses the built-in HTTP engine provided by the JDK. It automatically selects the appropriate implementation based on the Java version, supporting both Java 8 and Java 11+. If needed, you can configure a different HTTP engine by specifying the `.engine` option in the `HttpClientConfig`. Please note, if a different engine is chosen, you will need to manually include the corresponding dependencies.
49+
OpenGeminiClient supports multiple [HTTP engines](https://github.com/openfacade/http-facade?tab=readme-ov-file#httpclient-support-engines) by leveraging [http-facade](https://github.com/openfacade/http-facade). By default, the client uses the built-in HTTP engine provided by the JDK. It automatically selects the appropriate implementation based on the Java version, supporting both Java 8 and Java 11+. If needed, you can configure a different HTTP engine by specifying the `.engine` option in the `HttpClientConfig`. Please note, if a different engine is chosen, you will need to manually include the corresponding dependencies.
5050

5151
## Quick Start
5252

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OpenGemini 是一款云原生分布式时序数据库。获取更多信息,请
1616

1717
## 依赖
1818

19-
- 编译本项目至少需要OpenJDK 17, Maven 3.8.0或更高版本
19+
- 编译本项目至少需要OpenJDK 8, Maven 3.8.0或更高版本
2020

2121
## 集成
2222

@@ -46,7 +46,7 @@ docker run -p 8086:8086 --name opengemini --rm opengeminidb/opengemini-server
4646

4747
### HTTP 引擎选择
4848

49-
默认情况下,客户端使用 JDK 自带的 HTTP 引擎,并根据 Java 版本自动选择合适的实现,支持 Java 8 和 Java 11+。如果有需要,你可以在 `HttpClientConfig` 中通过 `.engine` 选项配置不同的 HTTP 引擎。请注意,若选择不同的引擎,则需要手动添加相应的依赖。
49+
OpenGeminiClient利用 [http-façade](https://github.com/openfacade/http-façade) 支持了多个 [HTTP 引擎](https://github.com/openfacade/http-façade?tab=readme-ov-file#httpclient-support-engines)默认情况下,客户端使用 JDK 自带的 HTTP 引擎,并根据 Java 版本自动选择合适的实现,支持 Java 8 和 Java 11+。如果有需要,你可以在 `HttpClientConfig` 中通过 `.engine` 选项配置不同的 HTTP 引擎。请注意,若选择不同的引擎,则需要手动添加相应的依赖。
5050

5151
## 快速上手
5252

0 commit comments

Comments
 (0)