You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2021/01/15 08:27:02 UTC
[flink] branch master updated: [FLINK-20967][docs] Add
documentation for the new introduced 'properties.*' option in HBase
connector
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new ee1453c [FLINK-20967][docs] Add documentation for the new introduced 'properties.*' option in HBase connector
ee1453c is described below
commit ee1453cd96cfc0b9633677ff2f514bd7b9feffdb
Author: zhaown <51...@users.noreply.github.com>
AuthorDate: Fri Jan 15 16:26:45 2021 +0800
[FLINK-20967][docs] Add documentation for the new introduced 'properties.*' option in HBase connector
This closes #14645
---
docs/dev/table/connectors/hbase.md | 9 +++++++++
docs/dev/table/connectors/hbase.zh.md | 10 ++++++++++
2 files changed, 19 insertions(+)
diff --git a/docs/dev/table/connectors/hbase.md b/docs/dev/table/connectors/hbase.md
index 6b928da..369ebfa 100644
--- a/docs/dev/table/connectors/hbase.md
+++ b/docs/dev/table/connectors/hbase.md
@@ -172,6 +172,15 @@ Connector Options
<td>Integer</td>
<td>Defines the parallelism of the HBase sink operator. By default, the parallelism is determined by the framework using the same parallelism of the upstream chained operator.</td>
</tr>
+ <tr>
+ <td><h5>properties.*</h5></td>
+ <td>optional</td>
+ <td style="word-wrap: break-word;">(none)</td>
+ <td>String</td>
+ <td>
+ This can set and pass arbitrary HBase configurations. Suffix names must match the configuration key defined in <a href="http://hbase.apache.org/2.3/book.html#hbase_default_configurations">HBase Configuration documentation</a>. Flink will remove the "properties." key prefix and pass the transformed key and values to the underlying HBaseClient. For example, you can add a kerberos authentication parameter <code>'properties.hbase.security.authentication' = 'kerberos'</code>.
+ </td>
+ </tr>
</tbody>
</table>
diff --git a/docs/dev/table/connectors/hbase.zh.md b/docs/dev/table/connectors/hbase.zh.md
index c41664c..c01dac9 100644
--- a/docs/dev/table/connectors/hbase.zh.md
+++ b/docs/dev/table/connectors/hbase.zh.md
@@ -165,6 +165,16 @@ ON myTopic.key = hTable.rowkey;
<td>Integer</td>
<td>为 HBase sink operator 定义并行度。默认情况下,并行度由框架决定,和链在一起的上游 operator 一样。</td>
</tr>
+ <tr>
+ <td><h5>properties.*</h5></td>
+ <td>可选</td>
+ <td style="word-wrap: break-word;">(无)</td>
+ <td>String</td>
+ <td>
+ 可以设置任意 HBase 的配置项。后缀名必须匹配在 <a href="http://hbase.apache.org/2.3/book.html#hbase_default_configurations">HBase 配置文档</a> 中定义的配置键。Flink 将移除 "properties." 配置键前缀并将变换后的配置键和值传入底层的 HBase 客户端。
+ 例如您可以设置 <code>'properties.hbase.security.authentication' = 'kerberos'</code> 等kerberos认证参数。
+ </td>
+ </tr>
</tbody>
</table>