Skip to content

Commit b33e6a0

Browse files
authored
[minor][docs] Improve the answer of MySQL CDC FAQ docs
This closes #3337.
1 parent d386c7c commit b33e6a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/content.zh/docs/faq/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ restart-strategy.fixed-delay.delay= 30s
204204

205205
### Q15: 在 DataStream API中构建MySQL CDC源时如何配置tableList选项?
206206

207-
tableList选项要求表名使用数据库名,而不是DataStream API中的表名。对于MySQL CDC源代码,tableList选项值应该类似于‘my_db.my_table’。
207+
1. tableList选项要求表名使用数据库名,而不是DataStream API中的表名。对于MySQL CDC源代码,tableList选项值应该类似于‘my_db.my_table’。
208+
2. 如果要同步排除products和orders表之外的整个my_db库,tableList选项值应该类似于‘my_db.(?!products|orders).*’。
208209

209210
## Postgres CDC FAQ
210211

docs/content/docs/faq/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ The reason for this problem is that the reading of the full volume phase of the
207207

208208
### Q15: How to config `tableList` option when build MySQL CDC source in DataStream API?
209209

210-
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’.
210+
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’.
211+
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).*'.
211212

212213
## Postgres CDC FAQ
213214

0 commit comments

Comments
 (0)