You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is required only when MongoDB is configured to use authentication
181
+
with another authentication database than admin.
182
+
</td>
183
+
</tr>
184
+
<tr>
185
+
<td>mongodb.connect.timeout.ms</td>
186
+
<td>optional</td>
187
+
<td style="word-wrap: break-word;">10000</td>
188
+
<td>String</td>
189
+
<td>The time in milliseconds to attempt a connection before timing out. <br>
190
+
Defaults to 10 seconds.
191
+
</td>
192
+
</tr>
193
+
<tr>
194
+
<td>mongodb.socket.timeout.ms</td>
195
+
<td>optional</td>
196
+
<td style="word-wrap: break-word;">0</td>
197
+
<td>String</td>
198
+
<td>The time in milliseconds to attempt a send or receive on a socket before the attempt times out. <br>
199
+
A value of 0 disables this behavior.
200
+
</td>
201
+
</tr>
202
+
<tr>
203
+
<td>mongodb.ssl.enabled</td>
204
+
<td>optional</td>
205
+
<td style="word-wrap: break-word;">false</td>
206
+
<td>Boolean</td>
207
+
<td>Connector will use SSL to connect to MongoDB instances.</td>
208
+
</tr>
209
+
<tr>
210
+
<td>mongodb.ssl.invalid.hostname.allowed</td>
211
+
<td>optional</td>
212
+
<td style="word-wrap: break-word;">false</td>
213
+
<td>Boolean</td>
214
+
<td>When SSL is enabled this setting controls
215
+
whether strict hostname checking is disabled during connection phase.
216
+
</td>
217
+
</tr>
142
218
<tr>
143
219
<td>errors.tolerance</td>
144
220
<td>optional</td>
@@ -208,15 +284,8 @@ Connector Options
208
284
<td>Integer</td>
209
285
<td>The length of time in milliseconds between sending heartbeat messages. Use 0 to disable.</td>
210
286
</tr>
211
-
<tr>
212
-
<td>local-time-zone</td>
213
-
<td>optional</td>
214
-
<td style="word-wrap: break-word;">UTC</td>
215
-
<td>String</td>
216
-
<td>The local time zone.</td>
217
-
</tr>
218
287
</tbody>
219
-
</table>
288
+
</table>
220
289
</div>
221
290
222
291
Note: `heartbeat.interval.ms` is highly recommended to set a proper value larger than 0 if the collection changes slowly.
@@ -229,6 +298,10 @@ Features
229
298
230
299
The MongoDB CDC connector is a Flink Source connector which will read database snapshot first and then continues to read change stream events with **exactly-once processing** even failures happen.
231
300
301
+
### Whether Snapshot When Startup
302
+
303
+
The config option `copy.existing` specifies whether do snapshot when MongoDB CDC consumer startup. Defaults to `true`.
304
+
232
305
### Change Streams
233
306
234
307
We integrates the [MongoDB's official Kafka Connector](https://docs.mongodb.com/kafka-connector/current/kafka-source/) to read snapshot or change events from MongoDB and drive it by Debezium's `EmbeddedEngine`.
0 commit comments