From ed77367d73446ae918a4aa81ca8366df994941b0 Mon Sep 17 00:00:00 2001 From: "wenjie.wang01" Date: Fri, 30 Aug 2024 16:50:43 +0800 Subject: [PATCH] fix table option. --- docs/en/connector-v2/sink/Hbase.md | 5 +++-- docs/zh/connector-v2/sink/Hbase.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/en/connector-v2/sink/Hbase.md b/docs/en/connector-v2/sink/Hbase.md index 63646e3ff14..3ceba0982d4 100644 --- a/docs/en/connector-v2/sink/Hbase.md +++ b/docs/en/connector-v2/sink/Hbase.md @@ -15,7 +15,7 @@ Output data to Hbase | name | type | required | default value | |--------------------|---------|----------|-----------------| | zookeeper_quorum | string | yes | - | -| table | string | no | - | +| table | string | yes | - | | rowkey_column | list | yes | - | | family_name | config | yes | - | | rowkey_delimiter | string | no | "" | @@ -181,7 +181,8 @@ source { sink { Hbase { - zookeeper_quorum = "hbase:2181" + zookeeper_quorum = "hadoop001:2181,hadoop002:2181,hadoop003:2181" + table = "${table_name}" rowkey_column = ["name"] family_name { all_columns = info diff --git a/docs/zh/connector-v2/sink/Hbase.md b/docs/zh/connector-v2/sink/Hbase.md index 704e6da05b6..f028a8c93ee 100644 --- a/docs/zh/connector-v2/sink/Hbase.md +++ b/docs/zh/connector-v2/sink/Hbase.md @@ -15,7 +15,7 @@ | 名称 | 类型 | 是否必须 | 默认值 | |--------------------|---------|------|-----------------| | zookeeper_quorum | string | yes | - | -| table | string | no | - | +| table | string | yes | - | | rowkey_column | list | yes | - | | family_name | config | yes | - | | rowkey_delimiter | string | no | "" | @@ -181,7 +181,8 @@ source { sink { Hbase { - zookeeper_quorum = "hbase:2181" + zookeeper_quorum = "hadoop001:2181,hadoop002:2181,hadoop003:2181" + table = "${table_name}" rowkey_column = ["name"] family_name { all_columns = info