未验证 提交 5dbcaf86 编写于 作者: H He Wang 提交者: GitHub

[doc] update version compatibility about groupId and artifactId (#62)

上级 2d94ac0c
......@@ -230,6 +230,18 @@ LogProxyClient client = new LogProxyClient("127.0.0.1", 2983, config, clientConf
### 版本兼容性
##### 组件ID
最初版本的 LogProxy 客户端使用 `'groupId'='com.oceanbase.logclient'``'artifactId'='logproxy-client'`,从 `1.1.0` 开始,更改组件 ID 为 `'groupId'='com.oceanbase'``'artifactId'='oblogclient-logproxy'`。如果你想使用旧版本的 LogProxy 客户端,可以在 Maven 中使用如下方式引入:
```xml
<dependency>
<groupId>com.oceanbase.logclient</groupId>
<artifactId>logproxy-client</artifactId>
<version>1.0.7</version>
</dependency>
```
##### 数据压缩
LogProxy 社区版从 1.0.1 开始默认会对发送到客户端的数据进行压缩,正确解压缩需要使用客户端 1.0.4 或之后的版本。
......
......@@ -71,7 +71,7 @@ To connect to LogProxy, there are some options in `ObReaderConfig`:
<td style="word-wrap: break-word;">Empty</td>
<td>String</td>
<td>setClusterUrl</td>
<td>The url used to get information about OceanBase servers. Query with <code>show parameters like 'obconfig_url'</code> using user of `sys` tenant, and you can get it at the `value` field.</td>
<td>The url used to get information about servers of OceanBase Enterprise Edition. Query with <code>show parameters like 'obconfig_url'</code> using user of `sys` tenant, and you can get it at the `value` field.</td>
</tr>
<tr>
<td>rootserver_list</td>
......@@ -79,7 +79,7 @@ To connect to LogProxy, there are some options in `ObReaderConfig`:
<td style="word-wrap: break-word;">Empty</td>
<td>String</td>
<td>setRsList</td>
<td>The OceanBase server list. Query with <code>show parameters like 'rootservice_list'</code> using user of `sys` tenant, and you can get it at the `value` field.</td>
<td>The server list of OceanBase Community Edition. Query with <code>show parameters like 'rootservice_list'</code> using user of `sys` tenant, and you can get it at the `value` field.</td>
</tr>
<tr>
<td>cluster_user</td>
......@@ -230,6 +230,18 @@ LogProxyClient client = new LogProxyClient("127.0.0.1", 2983, config, clientConf
### Version Compatibility
#### GroupId and ArtifactId
The initial version of LogProxy client is released with `'groupId'='com.oceanbase.logclient'` and `'artifactId'='logproxy-client'`, and we use `'groupId'='com.oceanbase'` and `'artifactId'='oblogclient-logproxy'` since `1.1.0`. If you want to use a legacy version of LogProxy client, you can add it to Maven as following:
```xml
<dependency>
<groupId>com.oceanbase.logclient</groupId>
<artifactId>logproxy-client</artifactId>
<version>1.0.7</version>
</dependency>
```
#### Record Compression
The log proxy compresses the record data by default from `1.0.1`, and to decompress the data properly, you should use `1.0.4` or later version of the client.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册