Skip to content

Commit 44662f0

Browse files
wysstartgoleonardBang
authored andcommitted
[docs] Add FAQ for tableList option usage in DataStream API (apache#634)
Co-authored-by: Leonard Xu <[email protected]>
1 parent a432453 commit 44662f0

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/content/connectors/mysql-cdc.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,3 +776,10 @@ This is because the MySQL user account uses `sha256_password` authentication whi
776776
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
777777
FLUSH PRIVILEGES;
778778
```
779+
#### Q5: How to config `tableList` option when build MySQL CDC source in DataStream API?
780+
781+
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'.
782+
783+
#### Q6: How to config MySQL server timezone in DataStream API?
784+
785+
The timezone of MySQL server influences the data value of TIMESTAMP column in its binlog file, thus we need to consider the MySQL server timezone when deal record that contains TIMESTAMP column. You can refer `com.ververica.cdc.debezium.table.RowDataDebeziumDeserializeSchema` as an example when you define your custom deserializer to deal binlog data correctly.

docs/content/connectors/postgres-cdc.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,11 @@ Data Type Mapping
368368
</tbody>
369369
</table>
370370
</div>
371+
372+
373+
FAQ
374+
--------
375+
376+
#### Q1: How to config `tableList` option when build Postgres CDC source in DataStream API?
377+
378+
The `tableList` option requires table name with schema name rather than table name in DataStream API. For Postgres CDC source, the `tableList` option value should like 'my_schema.my_table'.

0 commit comments

Comments
 (0)