-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Doc][Improve] support chinese [docs/zh/connector-v2/source/MySQL-CDC.md] #8884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @@ -0,0 +1,342 @@ | |||
| # MySQL CDC | |||
|
|
|||
| > MySQL CDC 源连接器 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > MySQL CDC 源连接器 | |
| > MySQL CDC Source 连接器 |
davidzollo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the PR
| | log_bin | ON | | ||
| +--------------------------+----------------+ | ||
| 5 rows in set (0.00 sec) | ||
| ``` |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
davidzollo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
LGTM
| ### 表名支持正则以读取多个表 | ||
| > `table-pattern` 和 `table-names` 只能选择一个 | ||
| ```hocon | ||
| env { | ||
| # You can set engine configuration here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### 表名支持正则以读取多个表 | |
| > `table-pattern` 和 `table-names` 只能选择一个 | |
| ```hocon | |
| env { | |
| # You can set engine configuration here | |
| ### 表名支持正则以读取多个表 | |
| > `table-pattern` 和 `table-names` 只能选择一个 | |
| ```hocon | |
| env { | |
| # You can set engine configuration here |
joyCurry30
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. I left some comment. Please take a look. @scienceyang
|
|
||
| ## 描述 | ||
|
|
||
| MySQL CDC连接器允许从MySQL数据库读取快照和增量数据. 本文档描述了如何设置MySQL CDC连接器以针对MySQL数据库运行SQL查询. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like so weird.
| > 1. You need to ensure that the [jdbc 驱动 jar package](https://mvnrepository.com/artifact/mysql/mysql-connector-java) 已经放在目录 `${SEATUNNEL_HOME}/lib/`. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not translate this?
|
|
||
| ### 启用MySQL Binlog | ||
|
|
||
| 一定要为MySQL复制启用二进制日志。二进制日志记录事务更新以供复制工具传播更改. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"二进制日志" -> binlog.
|
|
||
| #### 配置MySQL session超时时长 | ||
|
|
||
| 当为量大的数据库初始一致快照时,在读取表的过程中,您已建立的连接可能会超时。您可以通过在MySQL配置文件中配置interactive_timeout(交互超时时间)和wait_timeout(等待超时时间)来防止这种行为. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the meaning of "当为量大的"?
davidzollo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Good job
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note.