zhangshenghang commented on code in PR #10238:
URL: https://github.com/apache/seatunnel/pull/10238#discussion_r2659616155
##########
docs/zh/connector-v2/source/StarRocks.md:
##########
@@ -242,6 +249,47 @@ source {
}
```
+## 示例 3: 利用be_host_port_mapping获取数据
+
+```
+source {
+ StarRocks {
+ nodeUrls = ["starrocks_e2e:8030"]
+ username = root
+ password = ""
+ database = "test"
+ table = "e2e_table_source"
+ scan_batch_rows = 10
+ max_retries = 3
+ schema {
+ fields {
+ BIGINT_COL = BIGINT
+ LARGEINT_COL = STRING
+ SMALLINT_COL = SMALLINT
+ TINYINT_COL = TINYINT
+ BOOLEAN_COL = BOOLEAN
+ DECIMAL_COL = "DECIMAL(20, 1)"
+ DOUBLE_COL = DOUBLE
+ FLOAT_COL = FLOAT
+ INT_COL = INT
+ CHAR_COL = STRING
+ VARCHAR_11_COL = STRING
+ STRING_COL = STRING
+ DATETIME_COL = TIMESTAMP
+ DATE_COL = DATE
+ }
+ }
+ scan.params.scanner_thread_pool_thread_num = "3"
+ be_host_port_mapping = [
+ {
+ host_port = "pingt-7f5cf4cfdc-cn-0.headless.olap:9060:9060"
Review Comment:
```suggestion
host_port = "pingt-7f5cf4cfdc-cn-0.headless.olap:9060"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]