You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/core-concept/data-pipeline.md
+77
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,80 @@ KIND, either express or implied. See the License for the
23
23
specific language governing permissions and limitations
24
24
under the License.
25
25
-->
26
+
27
+
# Definition
28
+
Since events in Flink CDC flow from the upstream to the downstream in a pipeline manner, the data synchronization task is also referred as a Data Pipeline.
29
+
30
+
# Parameters
31
+
A pipeline corresponds to a chain of operators in Flink.
32
+
To describe a Data Pipeline, the following parts are required:
Copy file name to clipboardExpand all lines: docs/content/docs/core-concept/route.md
+49
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,52 @@ KIND, either express or implied. See the License for the
23
23
specific language governing permissions and limitations
24
24
under the License.
25
25
-->
26
+
27
+
# Definition
28
+
Route specifies the rule of matching a list of source-table and mapping to sink-table. The most typical scenario is the merge of sub-databases and sub-tables, routing multiple upstream source tables to the same sink table.
| description | Routing rule description(optional, default value provided) |
38
+
39
+
A route module can contain a list of source-table/sink-table rules.
40
+
41
+
# Example
42
+
## one to one
43
+
if synchronize the table `web_order` in the database `mydb` to a Doris table `ods_web_order`, we can use this yaml file to define this route:
44
+
45
+
```yaml
46
+
route:
47
+
source-table: mydb.web_order
48
+
sink-table: mydb.ods_web_order
49
+
description: sync table to one destination table with given prefix ods_
50
+
```
51
+
52
+
## many to one
53
+
What's more, if you want to synchronize the sharding tables in the database `mydb` to a Doris table `ods_web_order`, we can use this yaml file to define this route:
54
+
```yaml
55
+
route:
56
+
source-table: mydb\.*
57
+
sink-table: mydb.ods_web_order
58
+
description: sync sharding tables to one destination table
59
+
```
60
+
61
+
## many rules
62
+
What's more, if you want to specify many different mapping rules, we can use this yaml file to define this route:
63
+
```yaml
64
+
route:
65
+
- source-table: mydb.orders
66
+
sink-table: ods_db.ods_orders
67
+
description: sync orders table to orders
68
+
- source-table: mydb.shipments
69
+
sink-table: ods_db.ods_shipments
70
+
description: sync shipments table to ods_shipments
Copy file name to clipboardExpand all lines: docs/content/docs/core-concept/table-id.md
+15
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,18 @@ KIND, either express or implied. See the License for the
23
23
specific language governing permissions and limitations
24
24
under the License.
25
25
-->
26
+
27
+
# Definition
28
+
When connecting to external systems, it is necessary to establish a mapping relationship with the storage objects of the external system. This is what Table Id refers to.
29
+
30
+
# Example
31
+
To be compatible with most external systems, the Table Id is represented by a 3-tuple : (namespace, schemaName, tableName).
32
+
Connectors should establish the mapping between Table Id and storage objects in external systems.
33
+
34
+
The following table lists the parts in table Id of different data systems:
35
+
36
+
| data system | parts in tableId | String example |
0 commit comments