From 134bd591fe14ab5ddc0d649b4292ff7be45c3e8b Mon Sep 17 00:00:00 2001 From: Jianjun Lee <969092638@qq.com> Date: Tue, 21 May 2024 09:54:06 +0800 Subject: [PATCH] [hotfix][cdc][docs] Supplementary answer to the Mysql CDC Q15 question --- docs/content.zh/docs/faq/faq.md | 3 ++- docs/content/docs/faq/faq.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content.zh/docs/faq/faq.md b/docs/content.zh/docs/faq/faq.md index abb8d90d688..54b55fe9931 100644 --- a/docs/content.zh/docs/faq/faq.md +++ b/docs/content.zh/docs/faq/faq.md @@ -204,7 +204,8 @@ restart-strategy.fixed-delay.delay= 30s ### Q15: 在 DataStream API中构建MySQL CDC源时如何配置tableList选项? -tableList选项要求表名使用数据库名,而不是DataStream API中的表名。对于MySQL CDC源代码,tableList选项值应该类似于‘my_db.my_table’。 +1. tableList选项要求表名使用数据库名,而不是DataStream API中的表名。对于MySQL CDC源代码,tableList选项值应该类似于‘my_db.my_table’。 +2. 如果要同步排除products和orders表之外的整个my_db库,tableList选项值应该类似于‘my_db.(?!products|orders).*’。 ## Postgres CDC FAQ diff --git a/docs/content/docs/faq/faq.md b/docs/content/docs/faq/faq.md index e502a380cf8..2b57167d5ab 100644 --- a/docs/content/docs/faq/faq.md +++ b/docs/content/docs/faq/faq.md @@ -207,7 +207,8 @@ The reason for this problem is that the reading of the full volume phase of the ### Q15: How to config `tableList` option when build MySQL CDC source in DataStream API? -The `tableList` option requires table name with database name rather than table name in DataStream API. For MySQL CDC source, the `tableList` option value should like ‘my_db.my_table’. +1. The `tableList` option requires table name with database name rather than table name in DataStream API. For MySQL CDC source, the `tableList` option value should like ‘my_db.my_table’. +2. If you need to synchronize the whole mydb database excluding the products and orders tables, the `tableList` option value should like 'my_db.(?!products|orders).*'. ## Postgres CDC FAQ