You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by re...@apache.org on 2024/04/29 07:23:08 UTC

(flink-cdc) branch release-3.1 updated: [minor][docs] Fix route definition example in core concept docs (#3270)

This is an automated email from the ASF dual-hosted git repository.

renqs pushed a commit to branch release-3.1
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git


The following commit(s) were added to refs/heads/release-3.1 by this push:
     new a83d0e5d9 [minor][docs] Fix route definition example in core concept docs (#3270)
a83d0e5d9 is described below

commit a83d0e5d9e4139a8489539149cad89654a87e3e6
Author: yux <34...@users.noreply.github.com>
AuthorDate: Mon Apr 29 15:23:03 2024 +0800

    [minor][docs] Fix route definition example in core concept docs (#3270)
---
 docs/content.zh/docs/core-concept/route.md | 4 ++--
 docs/content/docs/core-concept/route.md    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/content.zh/docs/core-concept/route.md b/docs/content.zh/docs/core-concept/route.md
index 0a8c906fb..5e6920579 100644
--- a/docs/content.zh/docs/core-concept/route.md
+++ b/docs/content.zh/docs/core-concept/route.md
@@ -44,7 +44,7 @@ if synchronize the table `web_order` in the database `mydb` to a Doris table `od
 
 ```yaml
 route:
-    source-table: mydb.web_order
+  - source-table: mydb.web_order
     sink-table: mydb.ods_web_order
     description: sync table to one destination table with given prefix ods_
 ```
@@ -53,7 +53,7 @@ route:
 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:
 ```yaml
 route:
-    source-table: mydb\.*
+  - source-table: mydb\.*
     sink-table: mydb.ods_web_order
     description: sync sharding tables to one destination table
 ```
diff --git a/docs/content/docs/core-concept/route.md b/docs/content/docs/core-concept/route.md
index 0a8c906fb..5e6920579 100644
--- a/docs/content/docs/core-concept/route.md
+++ b/docs/content/docs/core-concept/route.md
@@ -44,7 +44,7 @@ if synchronize the table `web_order` in the database `mydb` to a Doris table `od
 
 ```yaml
 route:
-    source-table: mydb.web_order
+  - source-table: mydb.web_order
     sink-table: mydb.ods_web_order
     description: sync table to one destination table with given prefix ods_
 ```
@@ -53,7 +53,7 @@ route:
 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:
 ```yaml
 route:
-    source-table: mydb\.*
+  - source-table: mydb\.*
     sink-table: mydb.ods_web_order
     description: sync sharding tables to one destination table
 ```