From 7a2312cde101fae3f7d38b0b3be23ad6b4634a23 Mon Sep 17 00:00:00 2001
From: xixingya <2679431923@qq.com>
Date: Fri, 18 Nov 2022 10:53:55 +0800
Subject: [PATCH] [hotfix][docs] Correct the startup option's data type in
Mysql docs and duplicate batch.size in MongoDB docs (#1751)
---
docs/content/connectors/mongodb-cdc.md | 7 -------
docs/content/connectors/mysql-cdc(ZH).md | 6 +++---
docs/content/connectors/mysql-cdc.md | 4 ++--
3 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/docs/content/connectors/mongodb-cdc.md b/docs/content/connectors/mongodb-cdc.md
index 8cbd841c0..dd178bc03 100644
--- a/docs/content/connectors/mongodb-cdc.md
+++ b/docs/content/connectors/mongodb-cdc.md
@@ -219,13 +219,6 @@ Connector Options
Integer |
The cursor batch size. |
-
- batch.size |
- optional |
- 0 |
- Integer |
- Change stream cursor batch size. Specifies the maximum number of change events to return in each batch of the response from the MongoDB cluster. The default is 0 meaning it uses the server's default value. |
-
poll.max.batch.size |
optional |
diff --git a/docs/content/connectors/mysql-cdc(ZH).md b/docs/content/connectors/mysql-cdc(ZH).md
index 07f8c432d..fb0b903b2 100644
--- a/docs/content/connectors/mysql-cdc(ZH).md
+++ b/docs/content/connectors/mysql-cdc(ZH).md
@@ -236,21 +236,21 @@ Flink SQL> SELECT * FROM orders;
scan.startup.specific-offset.gtid-set |
optional |
(none) |
- Long |
+ String |
在 "specific-offset" 启动模式下,启动位点的 GTID 集合。 |
scan.startup.specific-offset.skip-events |
optional |
(none) |
- String |
+ Long |
在指定的启动位点后需要跳过的事件数量。 |
scan.startup.specific-offset.skip-rows |
optional |
(none) |
- String |
+ Long |
在指定的启动位点后需要跳过的数据行数量。 |
diff --git a/docs/content/connectors/mysql-cdc.md b/docs/content/connectors/mysql-cdc.md
index ab705f311..76f6b346e 100644
--- a/docs/content/connectors/mysql-cdc.md
+++ b/docs/content/connectors/mysql-cdc.md
@@ -246,14 +246,14 @@ Connector Options
scan.startup.specific-offset.skip-events |
optional |
(none) |
- String |
+ Long |
Optional number of events to skip after the specific starting offset |
scan.startup.specific-offset.skip-rows |
optional |
(none) |
- String |
+ Long |
Optional number of rows to skip after the specific starting offset |