dockerzhang commented on code in PR #646: URL: https://github.com/apache/inlong-website/pull/646#discussion_r1045394109
########## docs/introduction.md: ########## @@ -91,4 +91,6 @@ Apache InLong serves the entire life cycle from data collection to landing, and | | Greenplum | 4.x, 5.x, 6.x | Lightweight, Standard | | | Elasticsearch | 6.x, 7.x | Lightweight, Standard | | | SQLServer | 2012, 2014, 2016, 2017, 2019 | Lightweight, Standard | +| | Doris | >= 0.13 | Lightweight, Standard | +| | StarRocks | >= 2.0 | Lightweight, Standard | Review Comment: please update the related Chinese document at the same time. https://github.com/apache/inlong-website/blob/master/i18n/zh-CN/docusaurus-plugin-content-docs/current/introduction.md ########## docs/data_node/load_node/starrocks.md: ########## @@ -0,0 +1,320 @@ +--- +title: StarRocks +sidebar_position: 17 +--- + +import {siteVariables} from '../../version'; + +## Overview + - `StarRocks Load` node supports writing data to the StarRocks database. + - Two modes are supported for sink to StarRocks: +Single-sink for specify fixed database name and table name to sink. +Multi-sink for custom database name and table name according to src format, which suitable for scenarios such as multi-table writing or whole database synchronization. + - This document describes how to set up a StarRocks Load node to sink to StarRocks. + +## Supported Version + +| Load Node | StarRocks version | +|---------------------|----------------| +| [StarRocks](./starrocks.md) | 2.0+ | + +## Dependencies + +In order to set up the StarRocks Load node, the dependency information needed to use a build automation tool +such as Maven or SBT is provided below. + +### Maven dependency + +``` +<dependency> + <groupId>org.apache.inlong</groupId> + <artifactId>sort-connector-starrocks</artifactId> + <version>${siteVariables.inLongVersion}</version> +</dependency> +``` Review Comment: <pre><code parentName="pre"> {`<dependency> <groupId>org.apache.inlong</groupId> <artifactId>sort-connector-starrocks</artifactId> <version>${siteVariables.inLongVersion}</version> </dependency> `} </code></pre> ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/starrocks.md: ########## @@ -0,0 +1,318 @@ +--- +title: StarRocks +sidebar_position: 17 +--- + +import {siteVariables} from '../../version'; + +## 概览 + +`StarRocks Load` 节点支持将数据写入 StarRocks 数据库。 +支持单表写入和多表写入两种模式:单表写入为指定固定库名表名写入;多表写入支持根据源端数据格式自定义库名表名写入,适用于源端多表写入或者整库同步等场景。 +本文档介绍如何设置 StarRocks Load 节点实现写入 StarRocks 数据库表。 + +## 支持的版本 + +| Load 节点 | StarRocks 版本 | +|---------------------|----------| +| [StarRocks](./StarRocks.md) | 2.0+ | + +## 依赖 + +为了设置 StarRocks Load 节点, 下面提供了使用构建自动化工具(例如 Maven 或 SBT)所需要的依赖信息。 + +### Maven 依赖 + +``` +<dependency> + <groupId>org.apache.inlong</groupId> + <artifactId>sort-connector-starrocks</artifactId> + <version>${siteVariables.inLongVersion}</version> +</dependency> +``` Review Comment: ditto -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org